船员公众号
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

39 lines
788 B

2 months ago
/*
* @Author: zxh
* @Date: 2024-05-16 11:07:42
* @LastEditors: zxh
* @LastEditTime: 2024-08-23 13:53:13
* @Description: 请填写简介
*/
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