更新羽声语音h5
This commit is contained in:
6
main.js
6
main.js
@@ -2,11 +2,11 @@
|
||||
// #ifndef VUE3
|
||||
import Vue from 'vue'
|
||||
import App from './App'
|
||||
|
||||
import config from '@/until/config.js'
|
||||
Vue.config.productionTip = false
|
||||
|
||||
App.mpType = 'app'
|
||||
|
||||
Vue.prototype.$config = config;
|
||||
const app = new Vue({
|
||||
...App
|
||||
})
|
||||
@@ -15,9 +15,11 @@ app.$mount()
|
||||
|
||||
// #ifdef VUE3
|
||||
import { createSSRApp } from 'vue'
|
||||
import config from '@/until/config.js'
|
||||
import App from './App.vue'
|
||||
export function createApp() {
|
||||
const app = createSSRApp(App)
|
||||
app.config.globalProperties.$config = config
|
||||
return {
|
||||
app
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user