Commit 01908bdd authored by yyh's avatar yyh

后端地址修改

parent a547ba74
VUE_APP_SERVER=http://fd.33.cn:1294/api
VUE_APP_SERVER=http://118.89.159.234:46789/api
VUE_APP_BROWSER=http://47.114.159.142:9033
\ No newline at end of file
VUE_APP_SERVER=http://fd.33.cn:1294/api
VUE_APP_SERVER=http://118.89.159.234:46789/api
VUE_APP_BROWSER=http://47.114.159.142:9033
\ No newline at end of file
NODE_ENV=development
VUE_APP_SERVER=http://fd.33.cn:1294/api
VUE_APP_SERVER=http://118.89.159.234:46789/api
VUE_APP_BROWSER=http://47.114.159.142:9033
\ No newline at end of file
......@@ -116,6 +116,14 @@ export default class Index extends Vue {
}
}
private go(routerName: any) {
if (!this.isLogin ) {
return this.$router.replace({
name: 'Login',
query: {
redirect: this.$router.currentRoute.fullPath,
},
});
}
this.$router.push({name: routerName});
}
private toLogin() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment