25 lines
519 B
Vue
25 lines
519 B
Vue
<script>
|
|
export default {
|
|
onLaunch() {
|
|
try {
|
|
const req = typeof wx !== 'undefined' ? wx.__webpack_require_UNI_MP_PLUGIN__ : null
|
|
if (req) {
|
|
const m = req(8)
|
|
const V = m && (m.default || m)
|
|
if (V && V.prototype) {
|
|
if (!V.prototype.$mp) V.prototype.$mp = {}
|
|
if (!V.prototype.$mp.query) V.prototype.$mp.query = {}
|
|
}
|
|
}
|
|
} catch (e) {}
|
|
},
|
|
onShow() {},
|
|
onHide() {}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
@import "@/styles/global.scss";
|
|
</style>
|
|
|