diff --git a/web/src/components/trajectory/index.vue b/web/src/components/trajectory/index.vue index 52d7321..20911c4 100644 --- a/web/src/components/trajectory/index.vue +++ b/web/src/components/trajectory/index.vue @@ -1,9 +1,14 @@ + \ No newline at end of file diff --git a/web/src/utils/request.ts b/web/src/utils/request.ts index c8c680d..7311b56 100644 --- a/web/src/utils/request.ts +++ b/web/src/utils/request.ts @@ -64,7 +64,8 @@ service.interceptors.response.use( if (error.response.data) { const { status, msg } = error.response.data; // token 过期,重新登录 - if (status === '403') { + // debugger + if (status == '403') { ElMessageBox.confirm('当前页面已失效,请重新登录', '提示', { confirmButtonText: 'OK', type: 'warning' diff --git a/web/src/views/testdata/fileSynchronization/index.vue b/web/src/views/testdata/fileSynchronization/index.vue index 431a07c..ae9e4cf 100644 --- a/web/src/views/testdata/fileSynchronization/index.vue +++ b/web/src/views/testdata/fileSynchronization/index.vue @@ -104,7 +104,7 @@ const loading1 = ref(false) const loading2 = ref(false) const loading3 = ref(false) //文件对比-新增内容 -const sureSize = ref(100) +const sureSize = ref(10) const sureTotal = ref() const sureCurrent = ref(1) function diffSure() { @@ -131,7 +131,7 @@ function diffSure() { }) } //文件对比-变更内容 -const ChangeSize = ref(100) +const ChangeSize = ref(10) const ChangeTotal = ref() const ChangeCurrent = ref(1) function diffChange() { @@ -158,7 +158,7 @@ function diffChange() { }) } //文件对比-缺失内容 -const MisseSize = ref(100) +const MisseSize = ref(10) const MissTotal = ref() const MissCurrent = ref(1) function diffMiss() {