Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
finance-manage
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
finance-oa
finance-manage
Commits
b32d0724
Commit
b32d0724
authored
Jul 31, 2020
by
RuoYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
升级vue-cli版本到4.4.4
parent
8deacb70
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
31 deletions
+28
-31
ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
...system/src/main/resources/mapper/system/SysDeptMapper.xml
+1
-2
ruoyi-ui/babel.config.js
ruoyi-ui/babel.config.js
+10
-2
ruoyi-ui/package.json
ruoyi-ui/package.json
+16
-16
ruoyi-ui/vue.config.js
ruoyi-ui/vue.config.js
+1
-11
No files found.
ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
View file @
b32d0724
...
...
@@ -77,8 +77,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select
id=
"checkDeptNameUnique"
resultMap=
"SysDeptResult"
>
<include
refid=
"selectDeptVo"
/>
where dept_name=#{deptName} and parent_id = #{parentId}
limit 1
where dept_name=#{deptName} and parent_id = #{parentId} limit 1
</select>
<insert
id=
"insertDept"
parameterType=
"SysDept"
>
...
...
ruoyi-ui/babel.config.js
View file @
b32d0724
module
.
exports
=
{
presets
:
[
'
@vue/app
'
]
// https://github.com/vuejs/vue-cli/tree/master/packages/@vue/babel-preset-app
'
@vue/cli-plugin-babel/preset
'
],
'
env
'
:
{
'
development
'
:
{
// babel-plugin-dynamic-import-node plugin only does one thing by converting all import() to require().
// This plugin can significantly increase the speed of hot updates, when you have a large number of pages.
'
plugins
'
:
[
'
dynamic-import-node
'
]
}
}
}
ruoyi-ui/package.json
View file @
b32d0724
...
...
@@ -5,7 +5,7 @@
"author"
:
"若依"
,
"license"
:
"MIT"
,
"scripts"
:
{
"dev"
:
"vue-cli-service serve
--open
"
,
"dev"
:
"vue-cli-service serve"
,
"build:prod"
:
"vue-cli-service build"
,
"build:stage"
:
"vue-cli-service build --mode staging"
,
"preview"
:
"node build/index.js --preview"
,
...
...
@@ -43,10 +43,11 @@
"@riophae/vue-treeselect"
:
"0.4.0"
,
"axios"
:
"0.18.1"
,
"clipboard"
:
"2.0.4"
,
"core-js"
:
"3.6.5"
,
"echarts"
:
"4.2.1"
,
"element-ui"
:
"2.13.2"
,
"file-saver"
:
"2.0.1"
,
"js-beautify"
:
"
^
1.10.2"
,
"js-beautify"
:
"1.10.2"
,
"fuse.js"
:
"3.4.4"
,
"js-cookie"
:
"2.2.0"
,
"jsencrypt"
:
"3.0.0-rc.1"
,
...
...
@@ -65,32 +66,31 @@
"vuex"
:
"3.1.0"
},
"devDependencies"
:
{
"@vue/cli-plugin-babel"
:
"
3.5.3
"
,
"@vue/cli-plugin-eslint"
:
"
^3.9.1
"
,
"@vue/cli-plugin-unit-jest"
:
"
3.5.3
"
,
"@vue/cli-service"
:
"
3.5.3
"
,
"@vue/cli-plugin-babel"
:
"
4.4.4
"
,
"@vue/cli-plugin-eslint"
:
"
4.4.4
"
,
"@vue/cli-plugin-unit-jest"
:
"
4.4.4
"
,
"@vue/cli-service"
:
"
4.4.4
"
,
"@vue/test-utils"
:
"1.0.0-beta.29"
,
"autoprefixer"
:
"^9.5.1"
,
"babel-core"
:
"7.0.0-bridge.0"
,
"babel-eslint"
:
"10.0.1"
,
"autoprefixer"
:
"9.5.1"
,
"babel-eslint"
:
"10.1.0"
,
"babel-jest"
:
"23.6.0"
,
"babel-plugin-dynamic-import-node"
:
"2.3.3"
,
"chalk"
:
"2.4.2"
,
"chokidar"
:
"2.1.5"
,
"connect"
:
"3.6.6"
,
"eslint"
:
"
5.15.3
"
,
"eslint-plugin-vue"
:
"
5
.2.2"
,
"eslint"
:
"
6.7.2
"
,
"eslint-plugin-vue"
:
"
6
.2.2"
,
"html-webpack-plugin"
:
"3.2.0"
,
"http-proxy-middleware"
:
"^0.19.1"
,
"husky"
:
"1.3.1"
,
"lint-staged"
:
"8.1.5"
,
"mockjs"
:
"1.0.1-beta3"
,
"plop"
:
"2.3.0"
,
"runjs"
:
"
^
4.3.2"
,
"sass"
:
"
^
1.26.10"
,
"sass-loader"
:
"
^7.1.0
"
,
"runjs"
:
"4.3.2"
,
"sass"
:
"1.26.10"
,
"sass-loader"
:
"
8.0.2
"
,
"script-ext-html-webpack-plugin"
:
"2.1.3"
,
"script-loader"
:
"0.7.2"
,
"serve-static"
:
"
^
1.13.2"
,
"serve-static"
:
"1.13.2"
,
"svg-sprite-loader"
:
"4.1.3"
,
"svgo"
:
"1.2.0"
,
"vue-template-compiler"
:
"2.6.10"
...
...
ruoyi-ui/vue.config.js
View file @
b32d0724
...
...
@@ -30,6 +30,7 @@ module.exports = {
devServer
:
{
host
:
'
0.0.0.0
'
,
port
:
port
,
open
:
true
,
proxy
:
{
// detail: https://cli.vuejs.org/config/#devserver-proxy
[
process
.
env
.
VUE_APP_BASE_API
]:
{
...
...
@@ -71,17 +72,6 @@ module.exports = {
})
.
end
()
// set preserveWhitespace
config
.
module
.
rule
(
'
vue
'
)
.
use
(
'
vue-loader
'
)
.
loader
(
'
vue-loader
'
)
.
tap
(
options
=>
{
options
.
compilerOptions
.
preserveWhitespace
=
true
return
options
})
.
end
()
config
.
when
(
process
.
env
.
NODE_ENV
!==
'
development
'
,
config
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment