初始上传

This commit is contained in:
2026-04-04 17:27:12 +08:00
parent 4d80d28eb4
commit b7e11774ee
11191 changed files with 1588469 additions and 0 deletions

50
addon/cashier/source/os/main.js Executable file
View File

@@ -0,0 +1,50 @@
import App from './App'
import Util from './common/js/util.js'
import Http from './common/js/http.js'
import Config from './common/js/config.js'
import Mixin from './common/js/mixin.js'
import Pos from './common/js/pos.js'
import Store from './store'
import {uniStorage} from './common/js/storage.js'
Vue.prototype.$util = Util;
Vue.prototype.$pos = Pos;
Vue.prototype.$api = Http;
Vue.prototype.$config = Config;
Vue.prototype.$store = Store;
Vue.mixin(Mixin);
// 重写存储,增加前缀
uniStorage();
// 布局组件
import BasePage from "@/layout/index.vue";
Vue.component("base-page", BasePage);
// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false;
App.mpType = 'app';
const app = new Vue({
...App
});
app.$mount();
// #endif
// #ifdef VUE3
import {
createSSRApp
} from 'vue'
export function createApp() {
const app = createSSRApp(App);
return {
app
};
}
// #endif