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 }}