tongshangming преди 2 години
родител
ревизия
a9a617b2fb
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      src/components/core/form/FormComp.vue

+ 2 - 0
src/components/core/form/FormComp.vue

@@ -87,6 +87,8 @@ const headers = reactive({
     </template>
   </el-upload>
 
+  <div v-else-if="item.type === 'html'" v-html="item.props?.html"></div>
+
   <component
     v-else
     :is="'el-' + item.type"