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:
奇淼(piexlmax
2022-06-03 21:42:45 +08:00
committed by GitHub
co-authored by task
parent 99156155b3
commit a8d746e831
26 changed files with 135 additions and 87 deletions
+5 -5
View File
@@ -36,18 +36,18 @@
<el-table-column label="操作" min-width="250" fixed="right">
<template #default="scope">
<el-popover v-model:visible="scope.row.visible" placement="top" width="160">
<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="deleteUserFunc(scope.row)">确定</el-button>
</div>
<template #reference>
<el-button type="text" icon="delete" size="small">删除</el-button>
<el-button type="primary" link icon="delete" size="small">删除</el-button>
</template>
</el-popover>
<el-button type="text" icon="edit" size="small" @click="openEdit(scope.row)">编辑</el-button>
<el-button type="text" icon="magic-stick" size="small" @click="resetPasswordFunc(scope.row)">重置密码</el-button>
<el-button type="primary" link icon="edit" size="small" @click="openEdit(scope.row)">编辑</el-button>
<el-button type="primary" link icon="magic-stick" size="small" @click="resetPasswordFunc(scope.row)">重置密码</el-button>
</template>
</el-table-column>