平昌党建和数字平昌做下条件显示标题

This commit is contained in:
aixianling
2022-11-09 11:07:41 +08:00
parent 67f534babc
commit 9f9e55fb4e
2 changed files with 4 additions and 3 deletions

View File

@@ -72,6 +72,7 @@
<script>
import {mapActions, mapState} from 'vuex'
const navbarTitle = wx.getAccountInfoSync().miniProgram.appId == "wx41792b6cbf573dc0" ? "平昌党建" : "数字平昌"
export default {
name: 'AppHome',
appName: "首页",
@@ -102,7 +103,7 @@ export default {
}
},
onReady() {
uni.setNavigationBarTitle({title: "数字平昌"})
uni.setNavigationBarTitle({title: navbarTitle})
},
onLoad() {
this.autoLogin().then(() => {
@@ -239,7 +240,7 @@ export default {
onShareAppMessage() {
return {
title: '欢迎使用数字乡村治理服务一体化平台~',
title: `欢迎使用${navbarTitle}~`,
path: `/pages/AppHome/AppHome`
}
},

View File

@@ -16,7 +16,7 @@ const configs = {
dev: {
areaId: '341021104000',
areaName: '郑村镇',
baseUrl: 'http://192.168.1.87:59998'
baseUrl: 'http://192.168.1.87:9000'
}
}
// 当前选中配置