Commit ea6b81da by zhao_shaonan

去除debugger

parent 800ab318
......@@ -32,10 +32,9 @@ const actions = {
return new Promise((resolve, reject) => {
return login(account, password)
.then(res => {
debugger
const data = res.data;
commit('SET_TOKEN', data.accessToken);
commit('SET_USERIFNO', data);
//commit('SET_USERIFNO', data);
resolve();
})
.catch(_err => {
......
......@@ -22,7 +22,6 @@ var relUrlIp = window.location.host.substring(
//HTTPrequest拦截
service.interceptors.request.use(
response => {
debugger
//NProgress.start() // start progress bar
const meta = (response.meta || {});
const isToken = meta.isToken === false;
......
......@@ -63,11 +63,9 @@ export default {
if (valid) {
self.logining = true;
self.$store.dispatch("user/login", this.ruleForm2).then(() => {
debugger
self.$router.push({ path: "/home" });
}).catch(() => {
debugger
});
......
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