diff --git a/api/model/info.js b/api/model/info.js index 6fc61df..33d883b 100644 --- a/api/model/info.js +++ b/api/model/info.js @@ -55,7 +55,7 @@ const api = { method: 'GET', }, // 获取相关介绍详情 - getRiceInfo: { + getInfoIntroduceDetail: { url: '/rice_info/getRiceNewsDetail', method: 'GET', }, diff --git a/config.js b/config.js index 4938f33..35d1689 100644 --- a/config.js +++ b/config.js @@ -7,7 +7,7 @@ import uvUI from '@/uni_modules/uv-ui-tools' Vue.use(uvUI); // 当前环境 -const type = 'dev' +const type = 'prod' // 环境配置 diff --git a/pages_order/mine/balance.vue b/pages_order/mine/balance.vue index 42a4487..fe8c27e 100644 --- a/pages_order/mine/balance.vue +++ b/pages_order/mine/balance.vue @@ -53,6 +53,10 @@ state : ['审核中', '成功', '失败'], } }, + onShow() { + this.$store.commit('getUserInfo') + this.$store.commit('getRiceInfo') + }, methods: { } diff --git a/pages_order/mine/commission.vue b/pages_order/mine/commission.vue index 5d5ecfd..c02907c 100644 --- a/pages_order/mine/commission.vue +++ b/pages_order/mine/commission.vue @@ -52,6 +52,10 @@ state : ['审核中', '成功', '失败'], } }, + onShow() { + this.$store.commit('getUserInfo') + this.$store.commit('getRiceInfo') + }, methods: { }