diff --git a/pages/tobeAgency/index.js b/pages/tobeAgency/index.js
index 6ccfe16..628dfda 100644
--- a/pages/tobeAgency/index.js
+++ b/pages/tobeAgency/index.js
@@ -176,18 +176,23 @@ Page({
success: function (res) {
console.log(res);
if (res.data.status == 200) {
- wx.showToast({
- title: "提交成功",
- icon: "success",
- duration: 2000,
- success () {
- setTimeout(() => {
- wx.navigateBack({
- delta: 1,
- });
- }, 1000);
- },
+ wx.hideLoading({
+ success(){
+ wx.showToast({
+ title: "提交成功",
+ icon: "success",
+ duration: 1000,
+ success () {
+ setTimeout(() => {
+ wx.switchTab({
+ url: '../mine/index',
+ })
+ }, 1200);
+ },
+ });
+ }
});
+
} else if (res.data.status == 2002) {
app.logout().then(() => {
wx.reLaunch({
diff --git a/pages/tobeAgency/index.wxml b/pages/tobeAgency/index.wxml
index d7077f2..6bb19ab 100644
--- a/pages/tobeAgency/index.wxml
+++ b/pages/tobeAgency/index.wxml
@@ -59,15 +59,15 @@
营业执照
-
+
-
+
门头照片
-
+
diff --git a/project.private.config.json b/project.private.config.json
index 9554eed..2e8f286 100644
--- a/project.private.config.json
+++ b/project.private.config.json
@@ -8,6 +8,13 @@
"condition": {
"miniprogram": {
"list": [
+ {
+ "name": "pages/tobe",
+ "pathName": "pages/tobeAgency/index",
+ "query": "",
+ "launchMode": "default",
+ "scene": null
+ },
{
"name": "pages/wodeBillDetail/index",
"pathName": "pages/wodeBillDetail/index",