提交 a948e3f7 编写于 作者: guangjun.yang's avatar guangjun.yang

站内调用原生方法

上级 291276fc
......@@ -7,7 +7,7 @@ import { mapGetters } from 'vuex';
module.exports = {
data: function () {
return {
token: 'weewfwefw'
token: '',
}
},
created: function () {
......@@ -235,7 +235,11 @@ module.exports = {
};
this.GET("campaign/admin/task/checkToken", param).then(res => {
if (res.code !== "000000") {
this.goLogin();
if(Window.__isWeb) {
this.goLogin();
} else {
rocNative.gotoLogin();
}
} else {
cb && cb()
}
......
此差异已折叠。
此差异已折叠。
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册