From 79d7a61569f750719370b83f208d069be7718b2a Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期日, 19 六月 2022 14:28:56 +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