123456789101112131415161718192021 |
- import Vue from 'vue'
- import App from './App'
- Vue.config.productionTip = false
- // 打开App
- Vue.prototype.openApp = function () {
- const res = uni.getSystemInfoSync()
- if (res.platform === 'ios') {
- window.location.href = 'MKROhPlay://'
- } else {
- window.location.href = 'airsmart://com.muzen.radioplayer:8888/main'
- }
- }
- App.mpType = 'app'
- const app = new Vue({
- ...App
- })
- app.$mount()
|