yxxh5/src/main.js

32 lines
558 B
JavaScript
Raw Normal View History

2022-04-18 11:54:42 +08:00
import Vue from 'vue'
import App from './App'
import uView from "uview-ui";
Vue.use(uView);
//公共方法
import "@/utils/utils.js"
//组件
import tabbar from "@/components/tabbar/tabbar.vue"
Vue.component('tabbar',tabbar)
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
...App
})
app.$mount()
2022-04-24 17:20:11 +08:00
import http from "@/request/index.js"
Vue.prototype.http=http
2022-09-28 14:23:25 +08:00
2022-11-15 14:31:37 +08:00
// Vue.prototype.socketUrl = "ws://61.130.44.231/webSocket"
2022-12-07 17:20:34 +08:00
Vue.prototype.socketUrl = "wss://yxx.ydool.net/webSocket"
// import vConsole from './vconsole/index'