From f8867b8df117d1ac0f1311970994e15059c3da03 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期四, 05 九月 2024 15:57:36 +0800
Subject: [PATCH] add 兼容扫码问题
---
main.js | 27 +++++++++------------------
1 files changed, 9 insertions(+), 18 deletions(-)
diff --git a/main.js b/main.js
index 891fc3f..0f77c8f 100644
--- a/main.js
+++ b/main.js
@@ -1,4 +1,4 @@
-// #ifndef VUE3
+
import Vue from 'vue'
import App from './App'
import store from './store'
@@ -13,8 +13,8 @@
Vue.prototype.$storage = storage
import util from './plugins/util'
Vue.prototype.$util = util
-import self_base from './common/self_base.js'
-Vue.use(self_base);
+// import self_base from './common/self_base.js'
+// Vue.use(self_base);
import mixinsCommon from './mixin/mixin.js'
Vue.mixin(mixinsCommon)
@@ -40,6 +40,10 @@
},
picker:{
confirmColor:'#20613D'
+ },
+ steps:{
+ size:32,
+ fontSize:32
}
// 其他组件属性配置
// ......
@@ -67,12 +71,13 @@
Vue.component('footer-msg', footerMsg)
-
+// #ifdef PUB_CUSTOMER
import selectItems from '@/components/common-select-items'
Vue.component('common-select-items', selectItems)
import addressSelect from '@/components/common-address-select/common-address-select'
Vue.component('common-address-select', addressSelect)
+// #endif
import topTabs from '@/components/top-tabs.vue'
Vue.component('top-tabs', topTabs)
@@ -87,17 +92,3 @@
...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
\ No newline at end of file
--
Gitblit v1.9.3