Blame view

yslvdao-miniapp/main.js 1.16 KB
d64cd58f   wesley88   上传验收小程序
1
2
3
  import Vue from 'vue';
  import App from './App';
  import http from '@/utils/request.js'
d64cd58f   wesley88   上传验收小程序
4
  import uView from "uview-ui";
e75eb290   wesley88   1
5
  // import {decrypt,encrypt} from '@/utils/rsaEncrypt.js'
d64cd58f   wesley88   上传验收小程序
6
7
8
9
10
  // 弹出框
  import DialogBox from './components/DialogBox/DialogBox';
  
  Vue.config.productionTip = false
  Vue.prototype.$http = http
e75eb290   wesley88   1
11
  // Vue.prototype.$decrypt = decrypt
d64cd58f   wesley88   上传验收小程序
12
13
14
  Vue.prototype.$imgUrl = (url) => {
    return ("https://jy.scjysm.asia:18086/mefile/file/static" + url);
  }
d64cd58f   wesley88   上传验收小程序
15
  
e75eb290   wesley88   1
16
  // Vue.prototype.$upload = "http://172.16.61.48/admin-server/file/upload"
d64cd58f   wesley88   上传验收小程序
17
  
e75eb290   wesley88   1
18
19
20
21
  // Vue.prototype.$upload = "https://jy.scjysm.asia:18086/admin-server/file/upload"
  // Vue.prototype.$upload = "http://192.168.8.106:9003/miniio/upload"
  Vue.prototype.$upload  = "https://jy.scjysm.asia:18086/admin-server/miniio/upload"
  Vue.prototype.$img = "http://172.16.61.48/cdwlMall"
d64cd58f   wesley88   上传验收小程序
22
23
24
25
26
27
28
29
30
31
32
33
34
35
  // 全局组件
  Vue.component('DialogBox', DialogBox);
  
  //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()