main.js 869 字节

// #ifndef VUE3
import Vue from 'vue'
//引入uView
import uView from "uview-ui";
Vue.use(uView);
import {rqs} from "./request/rqs.js";
import {loginCustom} from "./request/rqs.js";
Vue.prototype.$rqs = rqs;
Vue.prototype.$loginCustom = loginCustom;
import App from './App'


 
import {callup} from './CallUp';
Vue.prototype.$callup = callup;



import {clickCopy} from './CallUp';
Vue.prototype.$clickCopy = clickCopy;




// 提交前需要注释  本地调试使用 
const vconsole = require('vconsole');
Vue.prototype.$vconsole = new vconsole();


Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
import App from './App.vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  // }
}
// #endif