diff --git a/config.js b/config.js index b061899..d5bebd5 100644 --- a/config.js +++ b/config.js @@ -2,8 +2,8 @@ module.exports = { // baseUrl: 'http://188.188.5.188:48080', // baseUrl: 'https://www.jzce.com', - // baseUrl: 'https://yxsthj.cn', - baseUrl: 'http://188.188.3.232:48080', + baseUrl: 'https://yxsthj.cn', + // baseUrl: 'http://188.188.3.232:48080', // baseUrl: 'http://localhost:48080', baseApi: '/admin-api', // 应用信息 diff --git a/pages/index.vue b/pages/index.vue index cfcfce8..dc835fd 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -168,7 +168,11 @@ - + 0) { + this.queryParams.region = this.dropOption.area[0].value + } }, async init() { if (this.queryParams.region) { @@ -307,7 +310,6 @@ export default { this.setPieData(data, this.detail.taskCompletionRate) this.getList() } - }, async getList() { const res = await HomeApi.getListData(this.queryParams) diff --git a/pages/login.vue b/pages/login.vue index 9d52a7a..5c53be6 100644 --- a/pages/login.vue +++ b/pages/login.vue @@ -31,8 +31,7 @@ export default { methods: { // 初始化应用 async initApp() { - await uni.hideTabBar() - uni.hideTabBar({ + await uni.hideTabBar({ animation: false }) if (!getOpenId()) { @@ -114,7 +113,6 @@ export default { }) return } - uni.switchTab({ url: '/pages/owner' diff --git a/pages/owner.vue b/pages/owner.vue index f8f6780..549cb46 100644 --- a/pages/owner.vue +++ b/pages/owner.vue @@ -49,7 +49,7 @@ --> - + {{ $dict.echoDicValue(dictMap.user_audit_type, form.audit) }} - +