yxxh5/src/main.js

30 lines
514 B
JavaScript

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()
import http from "@/request/index.js"
Vue.prototype.http=http
Vue.prototype.socketUrl = "ws://61.130.44.231/webSocket"
// Vue.prototype.socketUrl = "wss://yxx.ydool.net/webSocket"