|
@@ -895,7 +895,8 @@ export default {
|
|
|
// }, 100);
|
|
|
// 判断一下有没有缓存
|
|
|
this.$router.beforeEach(async (to, from, next) => {
|
|
|
- if (this.leftForm?.classOrganId) {
|
|
|
+ if (this.leftForm?.classOrganId&&from.path=='/business/buildVip') {
|
|
|
+ console.log(this.leftForm?.classOrganId)
|
|
|
this.$confirm("检测到您有未提交的数据, 离开将丢失该数据?", "提示", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|