Ver Fonte

修改样式

lifanagju_citu há 7 meses atrás
pai
commit
f092adcb1c
1 ficheiros alterados com 1 adições e 3 exclusões
  1. 1 3
      src/components/FormUI/cascade/index.vue

+ 1 - 3
src/components/FormUI/cascade/index.vue

@@ -2,7 +2,7 @@
 <template>
   <div class="d-flex" style="width: 100%;">
     <div style="line-height: 40px;">
-      <span style="color: #777;">{{ item?.label }}</span>
+      <span class="ml-3" style="color: #777;">{{ item?.label }}</span>
       <span v-if="prop.required" class="mr-1" style="color: var(--v-error-base);"> *</span>
     </div>
     <div style="flex: 1;">
@@ -44,7 +44,6 @@ const prop = {
   multiple: item.multiple || false,
   checkStrictly: item.checkStrictly || false,
 }
-console.log('1', prop)
 
 const value = ref()
 watch(
@@ -58,7 +57,6 @@ watch(
 
 const handleChange = (val) => {
   value.value = item.multiple ? val : Array.isArray(val) && val?.length ? val[0] : null
-  console.log(1, 'handleChange', value.value)
   if (prop.required && value.value !== '' && value.value !== null && value.value !== undefined) requiredTxt.value = ''
 
   emit('update:modelValue', value.value)