2.5.3beta版本提升 (#1116)
* element-ui升级至2.2.2 部分标签存在重大变化,请重新安装依赖 * popover变更 * 增加真实的天气信息获取 * 天气功能抽离方便二开清理 * 侧边栏css优化 * 版本提升为2.5.3beta Co-authored-by: task <121913992@qq.com>
This commit is contained in:
committed by
GitHub
co-authored by
task
parent
99156155b3
commit
a8d746e831
@@ -85,17 +85,17 @@
|
||||
<el-button
|
||||
size="small"
|
||||
icon="document"
|
||||
type="text"
|
||||
type="primary" link
|
||||
@click="toDetile(scope.row)"
|
||||
>详情</el-button>
|
||||
<el-button
|
||||
size="small"
|
||||
icon="edit"
|
||||
type="text"
|
||||
type="primary" link
|
||||
@click="updateSysDictionaryFunc(scope.row)"
|
||||
>变更</el-button>
|
||||
<el-popover
|
||||
v-model:visible="scope.row.visible"
|
||||
v-model="scope.row.visible"
|
||||
placement="top"
|
||||
width="160"
|
||||
>
|
||||
@@ -103,7 +103,7 @@
|
||||
<div style="text-align: right; margin-top: 8px">
|
||||
<el-button
|
||||
size="small"
|
||||
type="text"
|
||||
type="primary" link
|
||||
@click="scope.row.visible = false"
|
||||
>取消</el-button>
|
||||
<el-button
|
||||
@@ -114,7 +114,7 @@
|
||||
</div>
|
||||
<template #reference>
|
||||
<el-button
|
||||
type="text"
|
||||
type="primary" link
|
||||
icon="delete"
|
||||
size="small"
|
||||
style="margin-left: 10px"
|
||||
|
||||
@@ -48,15 +48,15 @@
|
||||
|
||||
<el-table-column align="left" label="按钮组">
|
||||
<template #default="scope">
|
||||
<el-button size="small" type="text" icon="edit" @click="updateSysDictionaryDetailFunc(scope.row)">变更</el-button>
|
||||
<el-popover v-model:visible="scope.row.visible" placement="top" width="160">
|
||||
<el-button size="small" type="primary" link icon="edit" @click="updateSysDictionaryDetailFunc(scope.row)">变更</el-button>
|
||||
<el-popover v-model="scope.row.visible" placement="top" width="160">
|
||||
<p>确定要删除吗?</p>
|
||||
<div style="text-align: right; margin-top: 8px;">
|
||||
<el-button size="small" type="text" @click="scope.row.visible = false">取消</el-button>
|
||||
<el-button size="small" type="primary" link @click="scope.row.visible = false">取消</el-button>
|
||||
<el-button type="primary" size="small" @click="deleteSysDictionaryDetailFunc(scope.row)">确定</el-button>
|
||||
</div>
|
||||
<template #reference>
|
||||
<el-button type="text" icon="delete" size="small" @click="scope.row.visible = true">删除</el-button>
|
||||
<el-button type="primary" link icon="delete" size="small" @click="scope.row.visible = true">删除</el-button>
|
||||
</template>
|
||||
</el-popover>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user