修改已知问题
This commit is contained in:
+22
-14
@@ -10,17 +10,19 @@ import store from './store/'
|
||||
import $ from 'jquery'
|
||||
import {
|
||||
VueAxios
|
||||
} from "@/utils/request"
|
||||
} from '@/utils/request'
|
||||
import watermark from '@/assets/watermark.js'
|
||||
|
||||
Vue.prototype.$watermark = watermark
|
||||
require('@/components/onlineForm/onlineForm')
|
||||
require('@/components/onlineForm/OnlineForm.css')
|
||||
|
||||
import Antd, { version } from 'ant-design-vue'
|
||||
|
||||
console.log('ant-design-vue version:', version)
|
||||
|
||||
import Viser from 'viser-vue'
|
||||
import 'ant-design-vue/dist/antd.less'; // or 'ant-design-vue/dist/antd.less'
|
||||
import 'ant-design-vue/dist/antd.less' // or 'ant-design-vue/dist/antd.less'
|
||||
|
||||
import VueI18n from 'vue-i18n'
|
||||
import LangENUS from './common/lang/en-us'
|
||||
@@ -45,12 +47,16 @@ import {
|
||||
DEFAULT_FIXED_SIDEMENU,
|
||||
DEFAULT_CONTENT_WIDTH_TYPE,
|
||||
DEFAULT_MULTI_PAGE
|
||||
} from "@/store/mutation-types"
|
||||
} from '@/store/mutation-types'
|
||||
import config from '@/defaultSettings'
|
||||
//引入
|
||||
import socketPublic from '@/utils/socketVuex.js'
|
||||
|
||||
//挂载
|
||||
Vue.prototype.$socketPublic = socketPublic
|
||||
import JDictSelectTag from './components/dict/index.js'
|
||||
import hasPermission from '@/utils/hasPermission'
|
||||
import vueBus from '@/utils/vueBus';
|
||||
import vueBus from '@/utils/vueBus'
|
||||
import JeroComponents from '@/components/jero/index'
|
||||
import '@/assets/less/JAreaLinkage.less'
|
||||
import VueAreaLinkage from 'vue-area-linkage'
|
||||
@@ -58,6 +64,7 @@ import '@/components/jero/JVxeTable/install'
|
||||
import '@/components/JVxeCells/install'
|
||||
// 挂载全局使用的方法
|
||||
import VueDraggableResizable from 'vue-draggable-resizable'
|
||||
|
||||
Vue.component('vue-draggable-resizable', VueDraggableResizable)
|
||||
Vue.config.productionTip = false
|
||||
Vue.use(Storage, config.storageOptions)
|
||||
@@ -68,21 +75,22 @@ Vue.use(hasPermission)
|
||||
Vue.use(JDictSelectTag)
|
||||
Vue.use(Print)
|
||||
Vue.use(preview)
|
||||
Vue.use(vueBus);
|
||||
Vue.use(JeroComponents);
|
||||
Vue.use(VueAreaLinkage);
|
||||
Vue.use(vueBus)
|
||||
Vue.use(JeroComponents)
|
||||
Vue.use(VueAreaLinkage)
|
||||
Vue.use(VueI18n)
|
||||
// 图片放大缩小插件
|
||||
import Viewer from 'v-viewer'
|
||||
import 'viewerjs/dist/viewer.css'
|
||||
Vue.use(Viewer,{
|
||||
defaultOptions:{
|
||||
zIndex:999999
|
||||
|
||||
Vue.use(Viewer, {
|
||||
defaultOptions: {
|
||||
zIndex: 999999
|
||||
}
|
||||
});
|
||||
})
|
||||
Viewer.setDefaults({
|
||||
Options: { "inline": true, "button": true ,'zIndex': 9999, 'zIndexInline': 9999}
|
||||
});
|
||||
Options: { 'inline': true, 'button': true, 'zIndex': 9999, 'zIndexInline': 9999 }
|
||||
})
|
||||
const i18n = new VueI18n({
|
||||
locale: 'zh-cn',
|
||||
messages: {
|
||||
@@ -114,7 +122,7 @@ function main() {
|
||||
store.commit('SET_MULTI_PAGE', Vue.ls.get(DEFAULT_MULTI_PAGE, config.multipage))
|
||||
},
|
||||
render: h => h(App),
|
||||
data:{
|
||||
data: {
|
||||
Bus: new Vue()
|
||||
}
|
||||
}).$mount('#app')
|
||||
|
||||
Reference in New Issue
Block a user