Explorar o código

user.info.deptName

tangning %!s(int64=3) %!d(string=hai) anos
pai
achega
9fb1bc869e
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      src/view/role/index.vue

+ 1 - 3
src/view/role/index.vue

@@ -107,7 +107,7 @@
           <el-input
             maxlength="15"
             :disabled="true"
-            v-model="newData.deptName"
+            v-model="user.info.deptName"
             placeholder="请输入"
           ></el-input>
         </el-form-item>
@@ -271,13 +271,11 @@ export default {
       newData: {
         userName: "",
         userId: "",
-        deptName: user.deptName,
         password: "",
         userRole: "",
       },
     });
     onMounted(async () => {
-
       getTreedata();
     });
     return {