diff --git a/App.vue b/App.vue index 848526c..3cc61b1 100644 --- a/App.vue +++ b/App.vue @@ -3,7 +3,7 @@ const jpushModule = uni.requireNativePlugin("JG-JPush"); // #endif export default { - onLaunch: async function() { + onLaunch: async function(info) { // let noticeArr = [] // jpushModule.addNotificationListener(res => { // if (!noticeArr.includes(res.messageID)) { @@ -16,6 +16,10 @@ // console.log("app的监听") // } // }) + uni.showModal({ + content: info + }) + if(info.referrerInfo?.extraData?.uniMP) uni.setStorageSync('uniMP', info.referrerInfo?.extraData?.uniMP); console.log('App Launch') this.$store.dispatch('initConfig'); try { diff --git a/components/company/company.vue b/components/company/company.vue index ffed8c3..33baf6e 100644 --- a/components/company/company.vue +++ b/components/company/company.vue @@ -359,9 +359,9 @@ brigade: '' } }, - props: ['id', 'type'], + props: ['cid', 'type'], mounted() { - this.initContract(this.$props.id, this.$props.type || null); + this.initContract(this.$props.cid, this.$props.type || null); }, computed: { c_address() { diff --git a/components/newArchives/residents.vue b/components/newArchives/residents.vue index 5f656e3..f96c31a 100644 --- a/components/newArchives/residents.vue +++ b/components/newArchives/residents.vue @@ -4,7 +4,7 @@ 常住人口 - + @@ -37,7 +37,7 @@ - + diff --git a/pages/oaHome/oaHome.vue b/pages/oaHome/oaHome.vue index bef6884..27755f0 100644 --- a/pages/oaHome/oaHome.vue +++ b/pages/oaHome/oaHome.vue @@ -1,34 +1,28 @@