loulijun2021
2023-04-11 995788e4042ba9b2886a8e03ca201f2268359f58
src/main.js
@@ -37,6 +37,31 @@
// 导入全局样式表
import './styles/global.css'
import { getGlobalColor, headerCellStyle, cellStyle } from './utils/global.js'
Vue.prototype.$getGlobalColor = getGlobalColor().globalColor // 设置全局颜色
Vue.prototype.$headerCellStyle = headerCellStyle() // 设置全局表头样式
Vue.prototype.$cellStyle = cellStyle() // 设置全局表体样式
// import 'lib-flexible' // 阿里可伸缩布局方案
// import 'lib-flexible-computer'
import '../public/static/theme/index.css' /* icofont */
// 打印
// import Print from 'vue-print-nb'
import Print from './components/Print/vue-print-nb'
Vue.use(Print)
// 水印
import watermark from './utils/watermark.js'
Vue.prototype.$watermark = watermark
import clearTabIndex from './utils/clearTabIndex.js' // 删除el-tooltip tabindex
clearTabIndex.install(Vue)
import vGanttChart from './lib/v-gantt-chart/index' // 引用修改过的gantt
Vue.use(vGanttChart)
new Vue({
  el: '#app',