diff --git a/config.js b/config.js
index cf54934..e49fb22 100644
--- a/config.js
+++ b/config.js
@@ -1,8 +1,8 @@
// 应用全局配置
module.exports = {
- // baseUrl: 'https://www.ddtg.site/noticeApi',
- // baseUrl: 'https://www.ddtg.site/noticeApi',
- baseUrl: 'http://192.168.1.4:8099',
+ //baseUrl: 'https://3w823u8516.vicp.fun/noticeApi',
+ baseUrl: 'https://www.ddtg.site/noticeApi',
+ //baseUrl: 'http://192.168.1.6:8088',
// 应用信息
appInfo: {
// 应用名称
@@ -29,10 +29,10 @@ module.exports = {
title: "认证指南",
code: "user_auth_text"
}, {
- title: "了解通告券",
+ title: "了解急招券",
code: "coupon_text"
}, {
- title: "通告券购买协议",
+ title: "急招券购买协议",
code: "coupon_agreement"
}, {
title: "审核标准",
@@ -43,4 +43,4 @@ module.exports = {
}
]
}
-}
+}
\ No newline at end of file
diff --git a/pages/components/my-notice-item-tg.vue b/pages/components/my-notice-item-tg.vue
index 3d561c8..b760d76 100644
--- a/pages/components/my-notice-item-tg.vue
+++ b/pages/components/my-notice-item-tg.vue
@@ -51,7 +51,7 @@
publish(item) {
this.$tab.navigateTo('/pages/notice/public-notice?sameId=' + item.id)
},
- editNotice() {
+ editNotice(item) {
this.$tab.navigateTo('/pages/notice/public-notice?sameId=' + item.id + '&isEdit=1')
},
evaluate() {
diff --git a/pages/index.vue b/pages/index.vue
index d251202..2b3b107 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -104,6 +104,9 @@
},
onShow() {
this.refreshUserType()
+ setTimeout(() => {
+ this.checkUserIfLogin()
+ }, 1000)
},
onLoad(param) {
if (param.menuCode) {
@@ -111,9 +114,7 @@
}
this.selectSiteConfig("platform_tel")
let that = this
- setTimeout(() => {
- this.checkUserIfLogin()
- }, 1000)
+
},
methods: {
/**
diff --git a/pages/notice/public-notice.vue b/pages/notice/public-notice.vue
index 495c5be..d7da64b 100644
--- a/pages/notice/public-notice.vue
+++ b/pages/notice/public-notice.vue
@@ -396,7 +396,7 @@
}
},
onShow() {
- this.dataObj.detail = this.dataObj.detail.replace(/
/g, '\n')
+
},
methods: {
/**
@@ -449,7 +449,7 @@
this.customFieldList = this.dataObj.customForm
}
-
+ this.dataObj.detail = this.dataObj.detail.replace(/
/g, '\n')
}
}).catch((e) => {
uni.showToast({