代码拉取完成,页面将自动刷新
import App from './App'
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
Vue.mixin({
data() {
return {}
},
onLoad() {
// #ifdef MP-WEIXIN
uni.showShareMenu({})
// #endif
},
onShareAppMessage(res) {
return {
title: '里派物业,快来看看吧!',
path: '/pages/index/index',
imageUrl: 'https://mp-773911e8-6917-4f03-9f50-e2393807e7c3.cdn.bspapp.com/cloudstorage/37e8fc22-7550-4d13-82d1-ff7f341fd8a1.png',
success: function(shareTickets) {
console.log(shareTickets + '成功');
},
fail: function(res) {
console.log(res + '失败');
}
}
}
})
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
...App
})
app.$mount()
// #endif
// #ifdef VUE3
import {
createSSRApp
} from 'vue'
export function createApp() {
const app = createSSRApp(App)
return {
app
}
}
// #endif
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。