森蓝小程序
This commit is contained in:
29
main.js
Normal file
29
main.js
Normal file
@@ -0,0 +1,29 @@
|
||||
import App from './App'
|
||||
|
||||
// #ifndef VUE3
|
||||
import Vue from 'vue'
|
||||
Vue.config.productionTip = false
|
||||
App.mpType = 'app'
|
||||
const app = new Vue({
|
||||
...App
|
||||
})
|
||||
app.$mount()
|
||||
// #endif
|
||||
|
||||
// #ifdef VUE3
|
||||
import { createSSRApp } from 'vue'
|
||||
export function createApp() {
|
||||
const app = createSSRApp(App)
|
||||
return {
|
||||
app
|
||||
}
|
||||
}
|
||||
// #endif
|
||||
|
||||
if( __wxConfig.envVersion == 'release' ) {
|
||||
Vue.prototype.java_http_url = 'https://t-zhipai-server.humengfilms.com:8101'
|
||||
Vue.prototype.pay_http_url = 'https://pay.humengfilms.com:9007'
|
||||
} else {
|
||||
Vue.prototype.java_http_url = 'https://s101.magichairai.com:9080'
|
||||
Vue.prototype.pay_http_url = 'https://s101.magichairai.com:9475'
|
||||
}
|
||||
Reference in New Issue
Block a user