af-mobile-client-vue3 1.5.75 → 1.5.77
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
CHANGED
package/src/router/routes.ts
CHANGED
|
@@ -26,10 +26,10 @@ import XReportGridView from '@af-mobile-client-vue3/views/component/XReportGridV
|
|
|
26
26
|
import XRequestView from '@af-mobile-client-vue3/views/component/XRequestView/index.vue'
|
|
27
27
|
import XSignatureView from '@af-mobile-client-vue3/views/component/XSignatureView/index.vue'
|
|
28
28
|
import AuthLoading from '@af-mobile-client-vue3/views/loading/AuthLoading.vue'
|
|
29
|
+
import employeeBinding from '@af-mobile-client-vue3/views/user/employeeBinding/index.vue'
|
|
29
30
|
import login from '@af-mobile-client-vue3/views/user/login/index.vue'
|
|
30
31
|
import my from '@af-mobile-client-vue3/views/user/my/index.vue'
|
|
31
32
|
import register from '@af-mobile-client-vue3/views/user/register/index.vue'
|
|
32
|
-
import employeeBinding from '@af-mobile-client-vue3/views/user/employeeBinding/index.vue'
|
|
33
33
|
import AbnormalAlarmRecords from '@af-mobile-client-vue3/views/userRecords/AbnormalAlarmRecords.vue'
|
|
34
34
|
import CardReplacementRecords from '@af-mobile-client-vue3/views/userRecords/CardReplacementRecords.vue'
|
|
35
35
|
import ChangeRecords from '@af-mobile-client-vue3/views/userRecords/ChangeRecords.vue'
|
package/src/types/platform.ts
CHANGED
|
@@ -67,7 +67,7 @@ export const PLATFORM_ROUTE_MAP: Record<PlatformType, string> = {
|
|
|
67
67
|
[PlatformType.WECHAT_MINI]: '/wx-mini-program/',
|
|
68
68
|
[PlatformType.ALIPAY]: '/alipay/',
|
|
69
69
|
[PlatformType.DINGTALK]: '/ding-talk/',
|
|
70
|
-
[PlatformType.THIRD_PARTY_APP]: '/app/',
|
|
70
|
+
[PlatformType.THIRD_PARTY_APP]: '/third-app/',
|
|
71
71
|
[PlatformType.FEISHU]: '/feishu/',
|
|
72
72
|
[PlatformType.TIKTOK]: '/tiktok/',
|
|
73
73
|
[PlatformType.CUSTOM]: '/custom/',
|
|
@@ -104,7 +104,7 @@ export const PLATFORM_CONFIGS: Record<PlatformType, PlatformConfig> = {
|
|
|
104
104
|
[PlatformType.THIRD_PARTY_APP]: {
|
|
105
105
|
type: PlatformType.THIRD_PARTY_APP,
|
|
106
106
|
name: '第三方应用',
|
|
107
|
-
routePrefix: '/app/',
|
|
107
|
+
routePrefix: '/third-app/',
|
|
108
108
|
description: '第三方应用用户',
|
|
109
109
|
},
|
|
110
110
|
[PlatformType.FEISHU]: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { openApiLogic } from '
|
|
3
|
-
import { useUserStore } from '
|
|
2
|
+
import { openApiLogic } from '@af-mobile-client-vue3/services/api/common'
|
|
3
|
+
import { useUserStore } from '@af-mobile-client-vue3/stores/modules/user'
|
|
4
4
|
import {
|
|
5
5
|
showFailToast,
|
|
6
6
|
showSuccessToast,
|