no message
This commit is contained in:
parent
068b4216ea
commit
27cc707c25
@ -156,7 +156,10 @@
|
||||
xupdate(key, name, type){
|
||||
this.updateKey = key;
|
||||
this.$nextTick(() => {
|
||||
this.$refs.xupdate.open().getComponentType(type).setConfig({name:name, remoteurl:'table/getUpdate?name='+key+'&token='+this.token});
|
||||
this.$refs.xupdate.open().getComponentType(type).setConfig({
|
||||
name:name,
|
||||
remoteurl:'table/getUpdate?name='+key+'&token='+this.token
|
||||
});
|
||||
})
|
||||
},
|
||||
loaddata(){
|
||||
@ -169,8 +172,8 @@
|
||||
});
|
||||
},
|
||||
onRemove(){
|
||||
this.$http.post('avatar/index/delete',{token: this.token}).then((res) => {
|
||||
if (res.code==200) {
|
||||
this.$http.post('avatar/admin/delete',{token: this.token}).then((res) => {
|
||||
if (res.code==200) {
|
||||
this.userData.avatar = '';
|
||||
this.$refs.uploader.clearFiles();
|
||||
this.$message.success(res.message || "操作成功")
|
||||
|
@ -43,10 +43,16 @@ const DEFAULT_CONFIG = {
|
||||
//localStorageAES加密秘钥,位数建议填写8的倍数
|
||||
LS_ENCRYPTION_key: '2XNN4K8LC0ELVWN4',
|
||||
//控制台首页默认布局
|
||||
DEFAULT_GRID: [
|
||||
{name:'welcome', layout:12},
|
||||
{name:'about', layout:12},
|
||||
]
|
||||
DEFAULT_GRID: [{
|
||||
name: 'work',
|
||||
layout: 24
|
||||
}, {
|
||||
name: 'welcome',
|
||||
layout: 12
|
||||
}, {
|
||||
name: 'about',
|
||||
layout: 12
|
||||
}, ]
|
||||
}
|
||||
// 如果生产模式,就合并动态的APP_CONFIG
|
||||
// public/config.js
|
||||
|
@ -18,7 +18,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<el-drawer title="添加应用" v-model="modsDrawer" :size="570" destroy-on-close>
|
||||
<el-drawer title="添加应用" v-model="modsDrawer" :append-to-body="true" :size="570" destroy-on-close>
|
||||
<div class="setMods">
|
||||
<h4>我的常用 ( {{myMods.length}} )</h4>
|
||||
<draggable tag="ul" v-model="myMods" animation="200" item-key="path" group="people">
|
||||
@ -141,6 +141,6 @@
|
||||
.setMods ul {margin:20px -5px;min-height: 90px;}
|
||||
.setMods li {display: inline-block;width: 80px;height:80px;text-align: center;margin:4.5px;color: #fff;vertical-align: top;padding:4px;padding-top:15px;cursor: move;border-radius: 3px;}
|
||||
.setMods li i {font-size: 20px;}
|
||||
.setMods li p {font-size: 12px;margin-top: 10px;}
|
||||
.setMods li p {font-size: 12px;margin-top: 10px;width: 100%;white-space:nowrap;text-overflow:ellipsis;overflow: hidden;}
|
||||
.setMods li.sortable-ghost {opacity: 0.3;}
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user