From aead956d24fd2d024ca41bf3becac8417d7ef0ea Mon Sep 17 00:00:00 2001 From: herenshan112 Date: Wed, 25 Oct 2023 16:51:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DesignForm/public/headTools.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/DesignForm/public/headTools.vue b/src/components/DesignForm/public/headTools.vue index bd2a6ad8f..0af0f403b 100644 --- a/src/components/DesignForm/public/headTools.vue +++ b/src/components/DesignForm/public/headTools.vue @@ -29,13 +29,13 @@ const btnClick = (type: string) => { } const btnList = computed(() => { const list = [ - { icon: 'del', label: '清空', key: 1 }, - { icon: 'eye', label: '预览', key: 2 }, - { icon: 'json', label: '生成脚本预览', key: 3 }, + { icon: 'del',iconFont:"", label: '清空', key: 1 }, + { icon: 'eye',iconFont:"", label: '预览', key: 2 }, + { icon: 'json',iconFont:"", label: '生成脚本预览', key: 3 }, // { icon: 'vue', label: '导出vue文件', key: 4 }, - { icon: 'save', label: '保存', key: 5 }, - { icon: 'branch', label: '另存为新版', key: 4 }, - { icon: 'close', label: '关闭', key: 6 } + { icon: 'save',iconFont:"fa-save", label: '保存', key: 5 }, + { icon: 'branch',iconFont:"fa-code-fork", label: '另存为新版', key: 4 }, + { icon: 'close',iconFont:"fa-close", label: '关闭', key: 6 } ] if (props.showKey?.length) { // 按照指定的key显示 @@ -67,7 +67,7 @@ watch(()=>props.customerformid,(val: any)=>{ :key="item.icon" :type="item.key==6?'danger':item.key==5?'success':item.key==4?'warning':'primary'" > - {{ item.label }} + {{ item.label }}