船员公众号
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
gzh_chuanyuan/main.js

32 lines
643 B

import App from './App'
import api from '@/api/index.js'
Vue.prototype.$api = api
Vue.prototype.staticUrl = function(img) { return "https://boat-server.njrenzhou.cn" + img }
// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
Vue.config.productionTip = false
App.mpType = 'app'
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
import VueCompositionAPI from '@vue/composition-api'
Vue.use(VueCompositionAPI)
const app = new Vue({
...App
})
app.$mount()
// #endif
// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
const app = createSSRApp(App)
return {
app
}
}
// #endif