af-mobile-client-vue3 1.1.25 → 1.1.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/router/guards.ts +2 -2
package/package.json
CHANGED
package/src/router/guards.ts
CHANGED
|
@@ -4,8 +4,8 @@ import { showToast } from 'vant'
|
|
|
4
4
|
|
|
5
5
|
// 不需要登录拦截的路由配置
|
|
6
6
|
const loginIgnore = {
|
|
7
|
-
names: ['404', '403'], // 根据路由名称匹配
|
|
8
|
-
paths: ['/login', '/XReportFormIframeView', '/invoiceShow'
|
|
7
|
+
names: ['404', '403', 'user-appointment', 'appointment-form', 'appointment-history'], // 根据路由名称匹配
|
|
8
|
+
paths: ['/login', '/XReportFormIframeView', '/invoiceShow'], // 根据路由fullPath匹配
|
|
9
9
|
/**
|
|
10
10
|
* 判断路由是否包含在该配置中
|
|
11
11
|
* @param route vue-router 的 route 对象
|