瀏覽代碼

组件样式修改,bug修复

asd26269546 2 年之前
父節點
當前提交
627b76773c
共有 3 個文件被更改,包括 6 次插入3 次删除
  1. 4 1
      src/components/byForm/index.vue
  2. 1 1
      src/views/system/dept2/index.vue
  3. 1 1
      src/views/system/dict/dictCommonDtl.vue

+ 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',
 			},
 		},
 		{