Przeglądaj źródła

fix: fix some historical bugs

Karsa 1 rok temu
rodzic
commit
8fdc1e9d49

+ 5 - 0
src/styles/element-ui.scss

@@ -59,3 +59,8 @@ $--font-path: '~element-ui/lib/theme-chalk/fonts';
 .el-table th.is-leaf {
   border-color: #DCDFE6 !important;
 }
+
+.el-menu--vertical {
+  max-height: 100vh;
+  overflow-y: auto;
+}

+ 1 - 1
src/views/dataEntry_manage/components/setEnNameDia.vue

@@ -84,7 +84,7 @@
 					<span v-show="item.notEdit">{{item.value}}</span>
           <el-input v-show="!item.notEdit" v-model="item.value" :placeholder="item.placeholder" style="width: 100%;"></el-input>
 				</el-form-item>
-				<el-form-item style="text-align: center;">
+				<el-form-item style="text-align: center;margin-left:-110px">
 					<el-button @click="cancel">取消</el-button>
 					<el-button type="primary" @click="saveEnName">确定</el-button>
 				</el-form-item>

+ 1 - 1
src/views/system_manage/dataAuthManage.vue

@@ -188,7 +188,7 @@ export default {
 					// console.log(bol)
 					bol === -1 && this.userList.unshift({AdminRealName: i.ItemName,
 						AdminId:id});
-					this.default_user = bol === -1 ? id : '';
+					this.default_user = id;
 				}
 			}
 		},