af-mobile-client-vue3 1.5.76 → 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/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,4 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
+
import { openApiLogic } from '@af-mobile-client-vue3/services/api/common'
|
|
3
|
+
import { useUserStore } from '@af-mobile-client-vue3/stores/modules/user'
|
|
2
4
|
import {
|
|
3
5
|
showFailToast,
|
|
4
6
|
showSuccessToast,
|
|
@@ -13,8 +15,6 @@ import {
|
|
|
13
15
|
} from 'vant'
|
|
14
16
|
import { computed, onMounted, ref } from 'vue'
|
|
15
17
|
import { useRoute, useRouter } from 'vue-router'
|
|
16
|
-
import { openApiLogic } from '@af-mobile-client-vue3/services/api/common'
|
|
17
|
-
import { useUserStore } from '@af-mobile-client-vue3/stores/modules/user'
|
|
18
18
|
|
|
19
19
|
interface FormData {
|
|
20
20
|
name: string // 姓名
|