初始化
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user