Blame view

main.js 730 Bytes
4dfe89e4   monkeyhouyi   初始化
1
2
3
4
5
6
7
8
9
10
11
  import Vue from 'vue';
  import App from './App';
  import http from '@/utils/request.js'
  
  import uView from "uview-ui";
  
  // 弹出框
  import DialogBox from './components/DialogBox/DialogBox';
  
  Vue.config.productionTip = false
  Vue.prototype.$http = http
c62ab6f2   杨鑫   1
12
13
14
15
  Vue.prototype.$imgUrl = (url) => {
    return ("http://8.130.38.56:8027/local/file/static" + url);
  };
  
4dfe89e4   monkeyhouyi   初始化
16
17
18
  // 全局组件
  Vue.component('DialogBox', DialogBox);
  
4dfe89e4   monkeyhouyi   初始化
19
20
21
22
23
24
25
26
27
28
29
  //mescroll
  import MescrollBody from "@/components/mescroll-uni/mescroll-body.vue"
  import MescrollUni from "@/components/mescroll-uni/mescroll-uni.vue"
  Vue.component('mescroll-body', MescrollBody)
  Vue.component('mescroll-uni', MescrollUni)
  App.mpType = 'app'
  Vue.use(uView);
  const app = new Vue({
      ...App
  })
  app.$mount()