From 68eaf315b64145e487d10e66183d542ee7f94d10 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期二, 05 七月 2022 17:35:33 +0800
Subject: [PATCH] 1.生产管理完成部分功能2.自定义页面打印、二维码图形、水印显示实现了一个demo
---
src/main.js | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/src/main.js b/src/main.js
index a19df87..89f4f2b 100644
--- a/src/main.js
+++ b/src/main.js
@@ -37,6 +37,24 @@
// 瀵煎叆鍏ㄥ眬鏍峰紡琛�
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'
+Vue.use(Print)
+
+// 姘村嵃
+import watermark from './utils/watermark.js'
+Vue.prototype.$watermark = watermark
new Vue({
el: '#app',
--
Gitblit v1.9.3