| 1234567891011121314151617181920212223242526272829303132 |
- import Vue from 'vue'
- import App from './App'
- import './uni.promisify.adaptor'
- import {
- http
- } from "./components/js_sdk/index";
- import alarModel from "./components/component/alarModel.vue";
- import tenMinutes from './components/component/tenMinutes.vue';
- Vue.component('alarModel', alarModel);
- Vue.component('tenMinutes', tenMinutes);
- Vue.prototype.$http = http;
- Vue.config.productionTip = false;
- if (__wxConfig.envVersion == 'develop') {
- Vue.prototype.uploadimg = 'https://api.radar-power.asia:4443';
- }
- if (__wxConfig.envVersion == 'trial') {
- Vue.prototype.upload = 'https://api.radar-power.asia:4443';
- }
- if (__wxConfig.envVersion == 'release') {
- Vue.prototype.uploadimg = 'https://api.radar-power.asia:4443';
- }
- App.mpType = "app";
- const app = new Vue({
- ...App,
- });
- app.$mount();
|