llll
This commit is contained in:
parent
c6a949edcb
commit
55ab4e8bd7
@ -7,11 +7,11 @@ const APP_CONFIG = {
|
|||||||
// Cookie name
|
// Cookie name
|
||||||
SESSIONNAME: 'miucms_session',
|
SESSIONNAME: 'miucms_session',
|
||||||
//TokenName
|
//TokenName
|
||||||
TOKEN_NAME: "token",
|
TOKEN_NAME: "authorization",
|
||||||
// 网站LOGO, 正式形
|
// 网站LOGO, 正式形
|
||||||
APP_LOGO: '',
|
APP_LOGO: '',
|
||||||
//接口地址
|
//接口地址
|
||||||
API_URL: 'https://ps.xiaoapi.com/admin/',
|
API_URL: 'https://app.gter.net/admin/',
|
||||||
// 微信扫码登录
|
// 微信扫码登录
|
||||||
MY_SHOW_LOGIN_OAUTH: true,
|
MY_SHOW_LOGIN_OAUTH: true,
|
||||||
}
|
}
|
@ -168,12 +168,9 @@
|
|||||||
},
|
},
|
||||||
//本地更新数据
|
//本地更新数据
|
||||||
handleSuccess(data, mode, message){
|
handleSuccess(data, mode, message){
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if(mode=='edit'){
|
if(mode=='edit'){
|
||||||
if (data) {
|
if (data) {
|
||||||
this.$refs.table.tableData.filter(item => item[this.key]===data[this.key] ).forEach(item => {
|
this.$refs.table.tableData.filter(item => item[this.key]===data[this.key]).forEach(item => {
|
||||||
Object.assign(item, data, data)
|
Object.assign(item, data, data)
|
||||||
})
|
})
|
||||||
}else{
|
}else{
|
||||||
|
Loading…
Reference in New Issue
Block a user