Browse Source

feat: 添加一个Slot,方便自定义一些组件ui

WANGKANG 10 months ago
parent
commit
846e115642
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/components/FormDialog/index.vue

+ 1 - 0
src/components/FormDialog/index.vue

@@ -13,6 +13,7 @@
         <FileUpload :file-size="4096" :file-type="['pt']" />
       </template>
     </ProFrom>
+    <slot name="upload_video" />
     <template #footer>
       <span class="dialog-footer">
         <el-button type="primary" v-if="parameter.isEdit" :loading="butLoading" @click="handleSubmit">确认</el-button>