chore: 代码生成vue页面同步前端移除图标自动导入写法
This commit is contained in:
@@ -81,8 +81,14 @@
|
|||||||
#end
|
#end
|
||||||
#end
|
#end
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button type="primary" @click="handleQuery()"><i-ep-search />搜索</el-button>
|
<el-button type="primary" @click="handleQuery">
|
||||||
<el-button @click="handleResetQuery()"><i-ep-refresh />重置</el-button>
|
<template #icon><Search /></template>
|
||||||
|
搜索
|
||||||
|
</el-button>
|
||||||
|
<el-button @click="handleResetQuery">
|
||||||
|
<template #icon><Refresh /></template>
|
||||||
|
重置
|
||||||
|
</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
@@ -94,7 +100,7 @@
|
|||||||
type="success"
|
type="success"
|
||||||
@click="handleOpenDialog()"
|
@click="handleOpenDialog()"
|
||||||
>
|
>
|
||||||
<i-ep-plus />
|
<template #icon><Plus /></template>
|
||||||
新增
|
新增
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
@@ -102,7 +108,8 @@
|
|||||||
type="danger"
|
type="danger"
|
||||||
:disabled="removeIds.length === 0"
|
:disabled="removeIds.length === 0"
|
||||||
@click="handleDelete()"
|
@click="handleDelete()"
|
||||||
><i-ep-delete />
|
>
|
||||||
|
<template #icon><Delete /></template>
|
||||||
删除
|
删除
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
@@ -136,7 +143,7 @@
|
|||||||
link
|
link
|
||||||
@click="handleOpenDialog(scope.row.id)"
|
@click="handleOpenDialog(scope.row.id)"
|
||||||
>
|
>
|
||||||
<i-ep-edit />
|
<template #icon><Edit /></template>
|
||||||
编辑
|
编辑
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
@@ -146,7 +153,7 @@
|
|||||||
link
|
link
|
||||||
@click="handleDelete(scope.row.id)"
|
@click="handleDelete(scope.row.id)"
|
||||||
>
|
>
|
||||||
<i-ep-delete />
|
<template #icon><Delete /></template>
|
||||||
删除
|
删除
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user