Commit fa48d786 by 张杰

修改登录失效页面路径

1 parent 7248d230
......@@ -136,11 +136,11 @@
});
}
}else{
window.location.href = '../ots/login';
window.location.href = '/';
}
},
errorUpload(err){
window.location.href = '../ots/login';
window.location.href = '/';
},
submitUpload() {
this.$refs.form.validate((valid) => {
......
......@@ -89,7 +89,7 @@ export default {
});
}
} else {
window.location.href = "../ots/login";
window.location.href = "/";
}
},
submitUpload() {
......@@ -116,7 +116,7 @@ export default {
this.$emit("onImportModalChange", false);
},
errorUpload(err) {
window.location.href = "../ots/login";
window.location.href = "/";
},
},
};
......
......@@ -126,11 +126,11 @@ export default {
});
}
} else {
window.location.href = "../ots/login";
window.location.href = "/";
}
},
errorUpload(err) {
window.location.href = "../ots/login";
window.location.href = "/";
},
submitUpload() {
this.$refs.form.validate((valid) => {
......
......@@ -135,7 +135,7 @@ export default {
});
}
} else {
window.location.href = "../ots/login";
window.location.href = "/";
}
},
submitUpload() {
......@@ -161,7 +161,7 @@ export default {
exportExcel("device/deviceManage/downLoadDeviceManage");
},
errorUpload(err) {
window.location.href = "../ots/login";
window.location.href = "/";
},
},
components: {
......
......@@ -335,7 +335,7 @@ export default {
setTimeout(() => (this.form.filename = ""), 0);
}
} else {
window.location.href = "、";
window.location.href = "/";
}
},
submitUpload() {
......
......@@ -131,7 +131,7 @@
}
}else{
window.location.href = '../ots/login';
window.location.href = '/';
}
......@@ -163,7 +163,7 @@
},
errorUpload(err){
window.location.href = '../ots/login';
window.location.href = '/';
}
}
}
......
......@@ -127,7 +127,7 @@
window.open(data.fileUrl)
}
}else{
window.location.href = '../ots/login';
window.location.href = '/';
}
},
submitUpload() {
......@@ -152,7 +152,7 @@
exportExcel('device/deviceManage/downLoadDeviceManage')
},
errorUpload(err){
window.location.href = '../ots/login';
window.location.href = '/';
}
},
components: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!