Просмотр исходного кода

1、调整旋转验证适配移动端 2、修复租户菜单授权问题

zuohuaijun 3 лет назад
Родитель
Сommit
e46e3433ce

+ 3 - 1
Web/src/views/login/component/account.vue

@@ -47,7 +47,7 @@
 	</el-form>
 
 	<div class="dialog-header">
-		<el-dialog v-model="rotateVerifyVisible" width="290px" center :show-close="false" :modal-append-to-body="false">
+		<el-dialog v-model="rotateVerifyVisible" :show-close="false">
 			<DragVerifyImgRotate
 				ref="dragRef"
 				:imgsrc="rotateVerifyImg"
@@ -211,6 +211,8 @@ export default defineComponent({
 		.v-modal {
 			position: absolute !important;
 		}
+
+		width: unset !important;
 	}
 }
 

+ 1 - 1
Web/src/views/system/tenant/component/grantMenu.vue

@@ -63,7 +63,7 @@ export default defineComponent({
 		const openDialog = async (row: any) => {
 			treeRef.value?.setCheckedKeys([]); // 先清空已选择节点
 			state.ruleForm = row;
-			var res = await getAPI(SysTenantApi).sysTenantOwnMenuListGet(row.id);
+			var res = await getAPI(SysTenantApi).sysTenantOwnMenuListGet(row.userId);
 			setTimeout(() => {
 				// 延迟传递数据
 				treeRef.value?.setCheckedKeys(res.data.result);