diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
new file mode 100644
index 0000000..7c4836f
--- /dev/null
+++ b/.idea/inspectionProfiles/Project_Default.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..992f4fb
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/websopy-taro.iml b/.idea/websopy-taro.iml
new file mode 100644
index 0000000..24643cc
--- /dev/null
+++ b/.idea/websopy-taro.iml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index cbdef5b..0e7d2f5 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,12 +4,9 @@
-
-
-
-
+
+
-
@@ -31,28 +28,28 @@
- {
+ "keyToString": {
+ "ModuleVcsDetector.initialDetectionPerformed": "true",
+ "RunOnceActivity.ShowReadmeOnStart": "true",
+ "RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true",
+ "RunOnceActivity.git.unshallow": "true",
+ "git-widget-placeholder": "master",
+ "junie.onboarding.icon.badge.shown": "true",
+ "last_opened_file_path": "/Users/gxwebsoft/VUE/websopy-taro/src/passport",
+ "node.js.detected.package.eslint": "true",
+ "node.js.detected.package.tslint": "true",
+ "node.js.selected.package.eslint": "(autodetect)",
+ "node.js.selected.package.tslint": "(autodetect)",
+ "nodejs_package_manager_path": "pnpm",
+ "npm.build:weapp.executor": "Run",
+ "npm.dev:weapp.executor": "Run",
+ "settings.editor.selected.configurable": "preferences.pluginManager",
+ "to.speed.mode.migration.done": "true",
+ "ts.external.directory.path": "/Applications/WebStorm.app/Contents/plugins/javascript-plugin/jsLanguageServicesImpl/external",
+ "vue.rearranger.settings.migration": "true"
}
-}]]>
+}
@@ -61,7 +58,7 @@
-
+
@@ -84,8 +81,8 @@
-
+
@@ -117,15 +114,8 @@
-
-
-
-
- 1775901973624
-
-
-
- 1775901973624
+
+
@@ -511,7 +501,15 @@
1784135922873
-
+
+
+ 1784136882898
+
+
+
+ 1784136882898
+
+
@@ -531,7 +529,6 @@
-
@@ -556,7 +553,8 @@
-
+
+
\ No newline at end of file
diff --git a/src/passport/pay/index.tsx b/src/passport/pay/index.tsx
index dfc0324..f6e7dbd 100644
--- a/src/passport/pay/index.tsx
+++ b/src/passport/pay/index.tsx
@@ -254,12 +254,9 @@ const PayPage: React.FC = () => {
setPaid(true)
Taro.showToast({ title: '支付成功', icon: 'success' })
- // 8. 延迟自动跳转到已购产品页面
+ // 8. 延迟自动跳转到“我的”页面(pages/user/user 为 tabBar 页,用 switchTab)
setTimeout(() => {
- Taro.navigateTo({ url: '/user/apps/index' }).catch(() => {
- // 如果 navigateTo 失败(比如在 tab 页),回退到用户页
- Taro.switchTab({ url: '/pages/user/user' })
- })
+ Taro.switchTab({ url: '/pages/user/user' })
}, 1500)
} catch (err: any) {