From fd59571a8536d48d4029eb7b09a717393f19e210 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期三, 22 六月 2022 17:29:46 +0800
Subject: [PATCH] 1.角色关联功能勾选提交功能 2.供方清单(新增、编辑、删除) 功能开发
---
vue.config.js | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/vue.config.js b/vue.config.js
index 320915d..981d55b 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -1,7 +1,7 @@
'use strict'
const path = require('path')
const defaultSettings = require('./src/settings.js')
-
+const webpack = require('webpack')
function resolve(dir) {
return path.join(__dirname, dir)
}
@@ -55,7 +55,13 @@
alias: {
'@': resolve('src')
}
- }
+ },
+ plugins: [
+ new webpack.ProvidePlugin({
+ jQuery: 'jquery',
+ $: 'jquery'
+ })
+ ]
},
chainWebpack(config) {
// it can improve the speed of the first screen, it is recommended to turn on preload
--
Gitblit v1.9.3