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
@@ -2,20 +2,20 @@
|
||||
<div>
|
||||
<span class="gva-icon" style="position: absolute; z-index: 9999; padding: 3px 10px 0; ">
|
||||
<el-icon>
|
||||
<component :is="metaData.icon"/>
|
||||
<component :is="metaData.icon" />
|
||||
</el-icon>
|
||||
</span>
|
||||
<el-select v-model="metaData.icon" style="width:100%" clearable filterable class="gva-select" placeholder="请选择">
|
||||
<el-option
|
||||
v-for="item in options"
|
||||
:key="item.key"
|
||||
class="select__option_item"
|
||||
:label="item.key"
|
||||
:value="item.key"
|
||||
v-for="item in options"
|
||||
:key="item.key"
|
||||
class="select__option_item"
|
||||
:label="item.key"
|
||||
:value="item.key"
|
||||
>
|
||||
<span class="gva-icon" style=" padding: 3px 0 0; " :class="item.label">
|
||||
<el-icon>
|
||||
<component :is="item.label"/>
|
||||
<component :is="item.label" />
|
||||
</el-icon>
|
||||
</span>
|
||||
<span style="text-align: left">{{ item.key }}</span>
|
||||
@@ -1173,10 +1173,8 @@ export default {
|
||||
|
||||
<style lang="scss">
|
||||
.gva-icon {
|
||||
//float: left;
|
||||
color: rgb(132, 146, 166);
|
||||
font-size: 13px;
|
||||
//line-height: 32px;
|
||||
font-size: 14px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
|
||||
@@ -37,19 +37,19 @@
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
size="small"
|
||||
type="text"
|
||||
type="primary" link
|
||||
icon="plus"
|
||||
@click="addMenu(scope.row.ID)"
|
||||
>添加子菜单</el-button>
|
||||
<el-button
|
||||
size="small"
|
||||
type="text"
|
||||
type="primary" link
|
||||
icon="edit"
|
||||
@click="editMenu(scope.row.ID)"
|
||||
>编辑</el-button>
|
||||
<el-button
|
||||
size="small"
|
||||
type="text"
|
||||
type="primary" link
|
||||
icon="delete"
|
||||
@click="deleteMenu(scope.row.ID)"
|
||||
>删除</el-button>
|
||||
@@ -284,7 +284,6 @@ const deleteParameter = (parameters, index) => {
|
||||
|
||||
// 新增可控按钮
|
||||
const addBtn = (form) => {
|
||||
console.log(form)
|
||||
if (!form.menuBtn) {
|
||||
form.menuBtn = []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user