chore: 代码生成vue页面同步前端移除图标自动导入写法

This commit is contained in:
Ray.Hao
2024-10-10 18:26:43 +08:00
parent 3f87a862e6
commit 1840e57888

View File

@@ -81,8 +81,14 @@
#end
#end
<el-form-item>
<el-button type="primary" @click="handleQuery()"><i-ep-search />搜索</el-button>
<el-button @click="handleResetQuery()"><i-ep-refresh />重置</el-button>
<el-button type="primary" @click="handleQuery">
<template #icon><Search /></template>
搜索
</el-button>
<el-button @click="handleResetQuery">
<template #icon><Refresh /></template>
重置
</el-button>
</el-form-item>
</el-form>
</div>
@@ -94,7 +100,7 @@
type="success"
@click="handleOpenDialog()"
>
<i-ep-plus />
<template #icon><Plus /></template>
新增
</el-button>
<el-button
@@ -102,7 +108,8 @@
type="danger"
:disabled="removeIds.length === 0"
@click="handleDelete()"
><i-ep-delete />
>
<template #icon><Delete /></template>
删除
</el-button>
</template>
@@ -136,7 +143,7 @@
link
@click="handleOpenDialog(scope.row.id)"
>
<i-ep-edit />
<template #icon><Edit /></template>
编辑
</el-button>
<el-button
@@ -146,7 +153,7 @@
link
@click="handleDelete(scope.row.id)"
>
<i-ep-delete />
<template #icon><Delete /></template>
删除
</el-button>
</template>