Explorar el Código

组件样式修改,bug修复

asd26269546 hace 2 años
padre
commit
627b76773c

+ 4 - 1
src/components/byForm/index.vue

@@ -190,7 +190,7 @@
         <slot :name="i.slotName" v-else-if="i.type == 'slot'">
           {{ i.slotName }}插槽占位符
         </slot>
-        <div v-else-if="i.type == 'json'">
+        <div v-else-if="i.type == 'json'" class="by-form-json">
           <byForm
             :formConfig="i.json"
             :formOption="formOption"
@@ -419,4 +419,7 @@ loadInit();
 .dn {
   display: none !important;
 }
+.by-form-json .by-form .el-form .el-form-item{
+  margin-bottom: 18px;
+}
 </style>

+ 1 - 1
src/views/system/dept2/index.vue

@@ -495,7 +495,7 @@ const showType = (type) => {
 const getDtl = (row) => {
   formData.data = { ...row };
   modalType.value = "edit";
-  console.log(modalType.value);
+  getUserList()
   dialogVisible.value = true;
 };
 

+ 1 - 1
src/views/system/dict/dictCommonDtl.vue

@@ -114,7 +114,7 @@ const config = computed(() => {
 		{
 			attrs: {
 				label: '值',
-				prop: 'dictKey',
+				prop: 'dictValue',
 			},
 		},
 		{