no message
This commit is contained in:
parent
28cf9d8953
commit
4211f52de0
25
dist/config.js
vendored
25
dist/config.js
vendored
@ -1,17 +1,10 @@
|
|||||||
// 此文件非必要,在生产环境下此文件配置可覆盖运行配置,开发环境下不起效
|
|
||||||
// 详情见 src/config/index.js
|
|
||||||
|
|
||||||
const APP_CONFIG = {
|
const APP_CONFIG = {
|
||||||
//主题设置
|
"APP_NAME": "聚美汽服",
|
||||||
THEMESETTING: true,
|
"THEMESETTING": false,
|
||||||
// Cookie name
|
"API_URL": "https:\/\/jmqf.v0750.com\/adminApi",
|
||||||
SESSIONNAME: 'miucms_session',
|
"APP_VER": "5.0.56",
|
||||||
//TokenName
|
"TOKEN_NAME": "token",
|
||||||
TOKEN_NAME: "authorization",
|
"WEBSOCKET": "",
|
||||||
// 网站LOGO, 正式形
|
"MY_SHOW_LOGIN_OAUTH": true,
|
||||||
APP_LOGO: '',
|
"SESSIONNAME": "ADMINTOKEN"
|
||||||
//接口地址
|
};
|
||||||
API_URL: 'https://app.gter.net/admin/',
|
|
||||||
// 微信扫码登录
|
|
||||||
MY_SHOW_LOGIN_OAUTH: true,
|
|
||||||
}
|
|
2
dist/index.html
vendored
2
dist/index.html
vendored
@ -1,4 +1,4 @@
|
|||||||
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/><meta content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=0" name="viewport"/><link rel="icon" href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/favicon.ico"><title>X-PHP</title><script>document.write("<script src='config.js'><\/script>");</script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/echarts.49558cc4.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/elicons.4bccae06.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/modules.af2834df.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/app.2adb46fe.js"></script><link href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/css/modules.34563575.css" rel="stylesheet"><link href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/css/app.3628e6a0.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but X-PHP doesn't work properly without JavaScript enabled.</strong></noscript><div id="app" class="adminui"><div class="app-loading"><div class="app-loading__logo"><img src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/logo.png"/></div><div class="app-loading-text"><span class="app-loading-preloader">X</span> <span class="app-loading-preloader">-</span> <span class="app-loading-preloader">A</span> <span class="app-loading-preloader">d</span> <span class="app-loading-preloader">m</span> <span class="app-loading-preloader">i</span> <span class="app-loading-preloader">n</span><div class="app-loading-viewtext-container"><span class="app-loading-viewtext">X</span> <span class="app-loading-viewtext">-</span> <span class="app-loading-viewtext">A</span> <span class="app-loading-viewtext">d</span> <span class="app-loading-viewtext">m</span> <span class="app-loading-viewtext">i</span> <span class="app-loading-viewtext">n</span></div></div></div></div></body><div id="versionCheck" class="versionCheck"><h2>当前浏览器内核版本过低</h2><p>当前版本:<span id="versionCheck-type">--</span> <span id="versionCheck-version">--</span></p><p>最低版本要求:Chrome 71+、Firefox 65+、Safari 12+、Edge 97+。</p><p>请升级浏览器版本,或更换现代浏览器,如果你使用的是双核浏览器,请切换到极速/高速模式。</p></div><style>html,
|
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/><meta content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=0" name="viewport"/><link rel="icon" href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/favicon.ico"><title>X-PHP</title><script>document.write("<script src='config.js'><\/script>");</script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/echarts.49558cc4.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/elicons.4bccae06.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/modules.af2834df.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/app.7d471988.js"></script><link href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/css/modules.34563575.css" rel="stylesheet"><link href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/css/app.c163a092.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but X-PHP doesn't work properly without JavaScript enabled.</strong></noscript><div id="app" class="adminui"><div class="app-loading"><div class="app-loading__logo"><img src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/logo.png"/></div><div class="app-loading-text"><span class="app-loading-preloader">X</span> <span class="app-loading-preloader">-</span> <span class="app-loading-preloader">A</span> <span class="app-loading-preloader">d</span> <span class="app-loading-preloader">m</span> <span class="app-loading-preloader">i</span> <span class="app-loading-preloader">n</span><div class="app-loading-viewtext-container"><span class="app-loading-viewtext">X</span> <span class="app-loading-viewtext">-</span> <span class="app-loading-viewtext">A</span> <span class="app-loading-viewtext">d</span> <span class="app-loading-viewtext">m</span> <span class="app-loading-viewtext">i</span> <span class="app-loading-viewtext">n</span></div></div></div></div></body><div id="versionCheck" class="versionCheck"><h2>当前浏览器内核版本过低</h2><p>当前版本:<span id="versionCheck-type">--</span> <span id="versionCheck-version">--</span></p><p>最低版本要求:Chrome 71+、Firefox 65+、Safari 12+、Edge 97+。</p><p>请升级浏览器版本,或更换现代浏览器,如果你使用的是双核浏览器,请切换到极速/高速模式。</p></div><style>html,
|
||||||
body,
|
body,
|
||||||
#app {
|
#app {
|
||||||
transition-property: filter;
|
transition-property: filter;
|
||||||
|
4
dist/report.html
vendored
4
dist/report.html
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
|||||||
"use strict";(self["webpackChunkx_php_admin"]=self["webpackChunkx_php_admin"]||[]).push([[251],{251:function(e,t,a){a.r(t),a.d(t,{default:function(){return m}});var r=a(6808),l=a(9511);const n={class:"left-panel"},i={class:"right-panel"},s={class:"right-panel-search"};function c(e,t,a,c,o,u){const h=(0,r.up)("el-date-picker"),p=(0,r.up)("el-input"),d=(0,r.up)("el-button"),m=(0,r.up)("el-header"),g=(0,r.up)("el-table-column"),f=(0,r.up)("xTable"),w=(0,r.up)("el-main"),b=(0,r.up)("el-container");return(0,r.wg)(),(0,r.j4)(b,{class:"container"},{default:(0,r.w5)((()=>[(0,r.Wm)(m,null,{default:(0,r.w5)((()=>[(0,r._)("div",n,[(0,r.Wm)(h,{modelValue:o.date,"onUpdate:modelValue":t[0]||(t[0]=e=>o.date=e),type:"datetimerange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},null,8,["modelValue"])]),(0,r._)("div",i,[(0,r._)("div",s,[(0,r.Wm)(p,{modelValue:o.search.keyword,"onUpdate:modelValue":t[1]||(t[1]=e=>o.search.keyword=e),placeholder:"输入关键词",clearable:""},null,8,["modelValue"]),(0,r.Wm)(d,{type:"primary",icon:"el-icon-search",onClick:u.upsearch},null,8,["onClick"])])])])),_:1}),(0,r.Wm)(w,{class:"nopadding"},{default:(0,r.w5)((()=>[(0,r.Wm)(f,{ref:"table",api:o.api,params:o.search,tableColumn:o.tableColumn,stripe:"",highlightCurrentRow:"",onRowClick:u.rowClick},{default:(0,r.w5)((()=>[(0,r.Wm)(g,{type:"index",width:"60",align:"center"},{default:(0,r.w5)((e=>[(0,r._)("span",null,(0,l.zw)(e.$index+(o.currentPage-1)*o.limit+1),1)])),_:1})])),_:1},8,["api","params","tableColumn","onRowClick"])])),_:1})])),_:1})}var o=a(3077),u=a(1843),h={name:"log",components:{columnItem:o.Z,xMenuItem:u.Z},data(){return{infoDrawer:!1,chartoption:{},typeList:[],date:[],data:[],search:{},api:"",current:"",config:{},tableColumn:{},column:"default",currentPage:1,limit:20}},mounted(){this.getType()},watch:{current(){this.search.type=this.current,this.getCurrent()}},methods:{sideClick(e){this.info=e,this.search.type=e.value,this.current=e.value,this.column=e.column||"column"},changeURLArg(e,t,a){var r=t+"=([^&]*)";if(""===a)return e=e.replace(new RegExp("&?"+r,"gi"),""),e=e.replace(new RegExp("\\??"+r+"&?","gi"),"?"),e;var l=t+"="+a;if(e.match(r)){var n="("+t+"=)([^&]*)";return n=e.replace(new RegExp(n,"gi"),l),n}return e.match("[?]")?e+"&"+l:e+"?"+l},nodeClick(e){if(e.disabled)return!1;this.current=e.label,this.column=e.column||"column"},getType(){this.$http.get("log/admin/types",{type:this.$route.query.type},{cacheparameters:!0}).then((e=>{if(200==e.code){Object.assign(this.$data,e.data);for(const e in this.search)Object.prototype.hasOwnProperty.call(this.$route.query,e)&&(this.search[e]=this.$route.query[e])}}))},getCurrent(){this.tableColumn=this.config[this.column]||this.config.default,this.api||(this.api="log/admin/lists"),this.$refs.table.reload(this.search);let e=window.location.href;for(const[t,a]of Object.entries(this.search))e=this.changeURLArg(e,t,a);history.replaceState(Object.assign({},window.history.state,{url:e}),"null",e)},upsearch(){this.getCurrent()},rowClick(e){this.infoDrawer=!0,this.$nextTick((()=>{this.$refs.info.setData(e)}))}}},p=a(8700);const d=(0,p.Z)(h,[["render",c],["__scopeId","data-v-eba8b6d4"]]);var m=d}}]);
|
"use strict";(self["webpackChunkx_php_admin"]=self["webpackChunkx_php_admin"]||[]).push([[251],{251:function(e,t,a){a.r(t),a.d(t,{default:function(){return m}});var r=a(6808),l=a(9511);const n={class:"left-panel"},i={class:"right-panel"},s={class:"right-panel-search"};function c(e,t,a,c,o,u){const h=(0,r.up)("el-date-picker"),p=(0,r.up)("el-input"),d=(0,r.up)("el-button"),m=(0,r.up)("el-header"),g=(0,r.up)("el-table-column"),f=(0,r.up)("xTable"),w=(0,r.up)("el-main"),b=(0,r.up)("el-container");return(0,r.wg)(),(0,r.j4)(b,{class:"container"},{default:(0,r.w5)((()=>[(0,r.Wm)(m,null,{default:(0,r.w5)((()=>[(0,r._)("div",n,[(0,r.Wm)(h,{modelValue:o.date,"onUpdate:modelValue":t[0]||(t[0]=e=>o.date=e),type:"datetimerange","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},null,8,["modelValue"])]),(0,r._)("div",i,[(0,r._)("div",s,[(0,r.Wm)(p,{modelValue:o.search.keyword,"onUpdate:modelValue":t[1]||(t[1]=e=>o.search.keyword=e),placeholder:"输入关键词",clearable:""},null,8,["modelValue"]),(0,r.Wm)(d,{type:"primary",icon:"el-icon-search",onClick:u.upsearch},null,8,["onClick"])])])])),_:1}),(0,r.Wm)(w,{class:"nopadding"},{default:(0,r.w5)((()=>[(0,r.Wm)(f,{ref:"table",api:o.api,params:o.search,tableColumn:o.tableColumn,stripe:"",highlightCurrentRow:"",onRowClick:u.rowClick},{default:(0,r.w5)((()=>[(0,r.Wm)(g,{type:"index",width:"60",align:"center"},{default:(0,r.w5)((e=>[(0,r._)("span",null,(0,l.zw)(e.$index+(o.currentPage-1)*o.limit+1),1)])),_:1})])),_:1},8,["api","params","tableColumn","onRowClick"])])),_:1})])),_:1})}var o=a(9515),u=a(1843),h={name:"log",components:{columnItem:o.Z,xMenuItem:u.Z},data(){return{infoDrawer:!1,chartoption:{},typeList:[],date:[],data:[],search:{},api:"",current:"",config:{},tableColumn:{},column:"default",currentPage:1,limit:20}},mounted(){this.getType()},watch:{current(){this.search.type=this.current,this.getCurrent()}},methods:{sideClick(e){this.info=e,this.search.type=e.value,this.current=e.value,this.column=e.column||"column"},changeURLArg(e,t,a){var r=t+"=([^&]*)";if(""===a)return e=e.replace(new RegExp("&?"+r,"gi"),""),e=e.replace(new RegExp("\\??"+r+"&?","gi"),"?"),e;var l=t+"="+a;if(e.match(r)){var n="("+t+"=)([^&]*)";return n=e.replace(new RegExp(n,"gi"),l),n}return e.match("[?]")?e+"&"+l:e+"?"+l},nodeClick(e){if(e.disabled)return!1;this.current=e.label,this.column=e.column||"column"},getType(){this.$http.get("log/admin/types",{type:this.$route.query.type},{cacheparameters:!0}).then((e=>{if(200==e.code){Object.assign(this.$data,e.data);for(const e in this.search)Object.prototype.hasOwnProperty.call(this.$route.query,e)&&(this.search[e]=this.$route.query[e])}}))},getCurrent(){this.tableColumn=this.config[this.column]||this.config.default,this.api||(this.api="log/admin/lists"),this.$refs.table.reload(this.search);let e=window.location.href;for(const[t,a]of Object.entries(this.search))e=this.changeURLArg(e,t,a);history.replaceState(Object.assign({},window.history.state,{url:e}),"null",e)},upsearch(){this.getCurrent()},rowClick(e){this.infoDrawer=!0,this.$nextTick((()=>{this.$refs.info.setData(e)}))}}},p=a(8700);const d=(0,p.Z)(h,[["render",c],["__scopeId","data-v-eba8b6d4"]]);var m=d}}]);
|
1
dist/static/js/app.2adb46fe.js
vendored
1
dist/static/js/app.2adb46fe.js
vendored
File diff suppressed because one or more lines are too long
1
dist/static/js/app.7d471988.js
vendored
Normal file
1
dist/static/js/app.7d471988.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/static/js/xChunks.940350fb.js
vendored
1
dist/static/js/xChunks.940350fb.js
vendored
File diff suppressed because one or more lines are too long
1
dist/static/js/xChunks.fdad9f2c.js
vendored
Normal file
1
dist/static/js/xChunks.fdad9f2c.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -1,17 +1,10 @@
|
|||||||
// 此文件非必要,在生产环境下此文件配置可覆盖运行配置,开发环境下不起效
|
|
||||||
// 详情见 src/config/index.js
|
|
||||||
|
|
||||||
const APP_CONFIG = {
|
const APP_CONFIG = {
|
||||||
//主题设置
|
"APP_NAME": "聚美汽服",
|
||||||
THEMESETTING: true,
|
"THEMESETTING": false,
|
||||||
// Cookie name
|
"API_URL": "https:\/\/jmqf.v0750.com\/adminApi",
|
||||||
SESSIONNAME: 'miucms_session',
|
"APP_VER": "5.0.56",
|
||||||
//TokenName
|
"TOKEN_NAME": "token",
|
||||||
TOKEN_NAME: "authorization",
|
"WEBSOCKET": "",
|
||||||
// 网站LOGO, 正式形
|
"MY_SHOW_LOGIN_OAUTH": true,
|
||||||
APP_LOGO: '',
|
"SESSIONNAME": "ADMINTOKEN"
|
||||||
//接口地址
|
};
|
||||||
API_URL: 'https://app.gter.net/admin/',
|
|
||||||
// 微信扫码登录
|
|
||||||
MY_SHOW_LOGIN_OAUTH: true,
|
|
||||||
}
|
|
@ -95,6 +95,9 @@
|
|||||||
<template v-else-if="item.component == 'text'">
|
<template v-else-if="item.component == 'text'">
|
||||||
<el-text v-bind="bind" v-copy="data[item.name]">{{ data[item.name] }}</el-text>
|
<el-text v-bind="bind" v-copy="data[item.name]">{{ data[item.name] }}</el-text>
|
||||||
</template>
|
</template>
|
||||||
|
<template v-else-if="item.component == 'html'">
|
||||||
|
<p v-html="data[item.name]"></p>
|
||||||
|
</template>
|
||||||
<template v-else-if="item.component == 'link'">
|
<template v-else-if="item.component == 'link'">
|
||||||
<el-link v-bind="bind">{{ data[item.name] }}</el-link>
|
<el-link v-bind="bind">{{ data[item.name] }}</el-link>
|
||||||
</template>
|
</template>
|
||||||
|
@ -31,6 +31,7 @@
|
|||||||
<el-text v-bind="bind" v-if="item.copy" v-copy="row[item.copy]" style="cursor: pointer;display: inline;"> {{ row[item.name] }} </el-text>
|
<el-text v-bind="bind" v-if="item.copy" v-copy="row[item.copy]" style="cursor: pointer;display: inline;"> {{ row[item.name] }} </el-text>
|
||||||
<el-text v-bind="bind" v-else @click="handleClick(row, item)" style="cursor: pointer;display: inline;"> {{ row[item.name] }} </el-text>
|
<el-text v-bind="bind" v-else @click="handleClick(row, item)" style="cursor: pointer;display: inline;"> {{ row[item.name] }} </el-text>
|
||||||
</p>
|
</p>
|
||||||
|
<p v-else-if="item.columntype == 'html'" v-html="row[item.name]"> </p>
|
||||||
<p v-else-if="item.columntype == 'tag' || item.columntype == 'time'" @click="handleClick(row, item)" v-time.tip="row[item.name]"></p>
|
<p v-else-if="item.columntype == 'tag' || item.columntype == 'time'" @click="handleClick(row, item)" v-time.tip="row[item.name]"></p>
|
||||||
<slot v-else :name="item.name">
|
<slot v-else :name="item.name">
|
||||||
{{ item.columntype == 'select' && options ? getNameByValue(row[item.name], options) : row[item.name] }}
|
{{ item.columntype == 'select' && options ? getNameByValue(row[item.name], options) : row[item.name] }}
|
||||||
|
@ -20,7 +20,8 @@
|
|||||||
</template>
|
</template>
|
||||||
<el-table-column min-width="1"></el-table-column>
|
<el-table-column min-width="1"></el-table-column>
|
||||||
<template #empty>
|
<template #empty>
|
||||||
<el-empty v-if="!loading" :description="emptyText" :image-size="100"></el-empty>
|
<el-empty v-if="loading" description="加载中~" :image="emptyImage" :image-size="200"></el-empty>
|
||||||
|
<el-empty v-else :description="emptyText" :image-size="100"></el-empty>
|
||||||
</template>
|
</template>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
@ -153,6 +154,7 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
scPageSize: this.pageSize,
|
scPageSize: this.pageSize,
|
||||||
|
emptyImage: require('@/assets/img/ver.svg'),
|
||||||
isActivat: true,
|
isActivat: true,
|
||||||
emptyText: "暂无数据",
|
emptyText: "暂无数据",
|
||||||
toggleIndex: 0,
|
toggleIndex: 0,
|
||||||
@ -221,6 +223,27 @@ export default {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 批量编辑
|
||||||
|
if (o.operationtype && o.operationtype == 'update') {
|
||||||
|
|
||||||
|
const options = o.bind || o.options || {};
|
||||||
|
|
||||||
|
this.tableUpdateKey = options.key || this.rowKey;
|
||||||
|
|
||||||
|
const ids = this.selection.map(obj => obj[this.tableUpdateKey]);
|
||||||
|
const row = Object.assign({}, this.selection[0]);
|
||||||
|
const componenttype = options.type || 'dialog';
|
||||||
|
|
||||||
|
row[this.tableUpdateKey] = ids;
|
||||||
|
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.$refs.xtableupdate.open().getComponentType(componenttype).setToken(ids).setData(row).setConfig(options);
|
||||||
|
})
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if (!o.url) {
|
if (!o.url) {
|
||||||
this.$alert('没有批量' + (o.label || '操作') + '相关配置', "提示", { type: 'error' });
|
this.$alert('没有批量' + (o.label || '操作') + '相关配置', "提示", { type: 'error' });
|
||||||
return;
|
return;
|
||||||
@ -303,6 +326,7 @@ export default {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (response.code != config.successCode) {
|
if (response.code != config.successCode) {
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
this.emptyText = response.message;
|
this.emptyText = response.message;
|
||||||
@ -313,7 +337,6 @@ export default {
|
|||||||
this.summary = response.summary || {};
|
this.summary = response.summary || {};
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.$refs.xTable) {
|
if (this.$refs.xTable) {
|
||||||
this.$refs.xTable.setScrollTop(0)
|
this.$refs.xTable.setScrollTop(0)
|
||||||
}
|
}
|
||||||
@ -351,7 +374,7 @@ export default {
|
|||||||
//重载数据 替换params
|
//重载数据 替换params
|
||||||
reload(params, page = 1) {
|
reload(params, page = 1) {
|
||||||
this.currentPage = page;
|
this.currentPage = page;
|
||||||
// this.tableData = [];
|
this.tableData = [];
|
||||||
this.tableParams = params || {}
|
this.tableParams = params || {}
|
||||||
this.$refs.xTable.clearSelection();
|
this.$refs.xTable.clearSelection();
|
||||||
this.$refs.xTable.clearSort()
|
this.$refs.xTable.clearSort()
|
||||||
|
@ -120,6 +120,10 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
setToken(token) {
|
||||||
|
this.token = token;
|
||||||
|
return this;
|
||||||
|
},
|
||||||
// 配置
|
// 配置
|
||||||
setConfig(o) {
|
setConfig(o) {
|
||||||
Object.assign(this.config, o);
|
Object.assign(this.config, o);
|
||||||
@ -147,7 +151,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (res.data.token) {
|
if (res.data.token) {
|
||||||
this.token = res.data.token
|
this.setToken(res.data.token)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (res.data.size) {
|
if (res.data.size) {
|
||||||
|
Loading…
Reference in New Issue
Block a user