Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
cocktail-party-server
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
cocktail-party
cocktail-party-server
Commits
b32d0724
提交
b32d0724
authored
7月 31, 2020
作者:
RuoYi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
升级vue-cli版本到4.4.4
上级
8deacb70
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
28 行增加
和
31 行删除
+28
-31
SysDeptMapper.xml
...system/src/main/resources/mapper/system/SysDeptMapper.xml
+1
-2
babel.config.js
ruoyi-ui/babel.config.js
+10
-2
package.json
ruoyi-ui/package.json
+16
-16
vue.config.js
ruoyi-ui/vue.config.js
+1
-11
没有找到文件。
ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
浏览文件 @
b32d0724
...
@@ -77,8 +77,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -77,8 +77,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select
id=
"checkDeptNameUnique"
resultMap=
"SysDeptResult"
>
<select
id=
"checkDeptNameUnique"
resultMap=
"SysDeptResult"
>
<include
refid=
"selectDeptVo"
/>
<include
refid=
"selectDeptVo"
/>
where dept_name=#{deptName} and parent_id = #{parentId}
where dept_name=#{deptName} and parent_id = #{parentId} limit 1
limit 1
</select>
</select>
<insert
id=
"insertDept"
parameterType=
"SysDept"
>
<insert
id=
"insertDept"
parameterType=
"SysDept"
>
...
...
ruoyi-ui/babel.config.js
浏览文件 @
b32d0724
module
.
exports
=
{
module
.
exports
=
{
presets
:
[
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
浏览文件 @
b32d0724
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
"author"
:
"若依"
,
"author"
:
"若依"
,
"license"
:
"MIT"
,
"license"
:
"MIT"
,
"scripts"
:
{
"scripts"
:
{
"dev"
:
"vue-cli-service serve
--open
"
,
"dev"
:
"vue-cli-service serve"
,
"build:prod"
:
"vue-cli-service build"
,
"build:prod"
:
"vue-cli-service build"
,
"build:stage"
:
"vue-cli-service build --mode staging"
,
"build:stage"
:
"vue-cli-service build --mode staging"
,
"preview"
:
"node build/index.js --preview"
,
"preview"
:
"node build/index.js --preview"
,
...
@@ -43,10 +43,11 @@
...
@@ -43,10 +43,11 @@
"@riophae/vue-treeselect"
:
"0.4.0"
,
"@riophae/vue-treeselect"
:
"0.4.0"
,
"axios"
:
"0.18.1"
,
"axios"
:
"0.18.1"
,
"clipboard"
:
"2.0.4"
,
"clipboard"
:
"2.0.4"
,
"core-js"
:
"3.6.5"
,
"echarts"
:
"4.2.1"
,
"echarts"
:
"4.2.1"
,
"element-ui"
:
"2.13.2"
,
"element-ui"
:
"2.13.2"
,
"file-saver"
:
"2.0.1"
,
"file-saver"
:
"2.0.1"
,
"js-beautify"
:
"
^
1.10.2"
,
"js-beautify"
:
"1.10.2"
,
"fuse.js"
:
"3.4.4"
,
"fuse.js"
:
"3.4.4"
,
"js-cookie"
:
"2.2.0"
,
"js-cookie"
:
"2.2.0"
,
"jsencrypt"
:
"3.0.0-rc.1"
,
"jsencrypt"
:
"3.0.0-rc.1"
,
...
@@ -65,32 +66,31 @@
...
@@ -65,32 +66,31 @@
"vuex"
:
"3.1.0"
"vuex"
:
"3.1.0"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"@vue/cli-plugin-babel"
:
"
3.5.3
"
,
"@vue/cli-plugin-babel"
:
"
4.4.4
"
,
"@vue/cli-plugin-eslint"
:
"
^3.9.1
"
,
"@vue/cli-plugin-eslint"
:
"
4.4.4
"
,
"@vue/cli-plugin-unit-jest"
:
"
3.5.3
"
,
"@vue/cli-plugin-unit-jest"
:
"
4.4.4
"
,
"@vue/cli-service"
:
"
3.5.3
"
,
"@vue/cli-service"
:
"
4.4.4
"
,
"@vue/test-utils"
:
"1.0.0-beta.29"
,
"@vue/test-utils"
:
"1.0.0-beta.29"
,
"autoprefixer"
:
"^9.5.1"
,
"autoprefixer"
:
"9.5.1"
,
"babel-core"
:
"7.0.0-bridge.0"
,
"babel-eslint"
:
"10.1.0"
,
"babel-eslint"
:
"10.0.1"
,
"babel-jest"
:
"23.6.0"
,
"babel-jest"
:
"23.6.0"
,
"babel-plugin-dynamic-import-node"
:
"2.3.3"
,
"chalk"
:
"2.4.2"
,
"chalk"
:
"2.4.2"
,
"chokidar"
:
"2.1.5"
,
"chokidar"
:
"2.1.5"
,
"connect"
:
"3.6.6"
,
"connect"
:
"3.6.6"
,
"eslint"
:
"
5.15.3
"
,
"eslint"
:
"
6.7.2
"
,
"eslint-plugin-vue"
:
"
5
.2.2"
,
"eslint-plugin-vue"
:
"
6
.2.2"
,
"html-webpack-plugin"
:
"3.2.0"
,
"html-webpack-plugin"
:
"3.2.0"
,
"http-proxy-middleware"
:
"^0.19.1"
,
"husky"
:
"1.3.1"
,
"husky"
:
"1.3.1"
,
"lint-staged"
:
"8.1.5"
,
"lint-staged"
:
"8.1.5"
,
"mockjs"
:
"1.0.1-beta3"
,
"mockjs"
:
"1.0.1-beta3"
,
"plop"
:
"2.3.0"
,
"plop"
:
"2.3.0"
,
"runjs"
:
"
^
4.3.2"
,
"runjs"
:
"4.3.2"
,
"sass"
:
"
^
1.26.10"
,
"sass"
:
"1.26.10"
,
"sass-loader"
:
"
^7.1.0
"
,
"sass-loader"
:
"
8.0.2
"
,
"script-ext-html-webpack-plugin"
:
"2.1.3"
,
"script-ext-html-webpack-plugin"
:
"2.1.3"
,
"script-loader"
:
"0.7.2"
,
"script-loader"
:
"0.7.2"
,
"serve-static"
:
"
^
1.13.2"
,
"serve-static"
:
"1.13.2"
,
"svg-sprite-loader"
:
"4.1.3"
,
"svg-sprite-loader"
:
"4.1.3"
,
"svgo"
:
"1.2.0"
,
"svgo"
:
"1.2.0"
,
"vue-template-compiler"
:
"2.6.10"
"vue-template-compiler"
:
"2.6.10"
...
...
ruoyi-ui/vue.config.js
浏览文件 @
b32d0724
...
@@ -30,6 +30,7 @@ module.exports = {
...
@@ -30,6 +30,7 @@ module.exports = {
devServer
:
{
devServer
:
{
host
:
'0.0.0.0'
,
host
:
'0.0.0.0'
,
port
:
port
,
port
:
port
,
open
:
true
,
proxy
:
{
proxy
:
{
// detail: https://cli.vuejs.org/config/#devserver-proxy
// detail: https://cli.vuejs.org/config/#devserver-proxy
[
process
.
env
.
VUE_APP_BASE_API
]:
{
[
process
.
env
.
VUE_APP_BASE_API
]:
{
...
@@ -71,17 +72,6 @@ module.exports = {
...
@@ -71,17 +72,6 @@ module.exports = {
})
})
.
end
()
.
end
()
// set preserveWhitespace
config
.
module
.
rule
(
'vue'
)
.
use
(
'vue-loader'
)
.
loader
(
'vue-loader'
)
.
tap
(
options
=>
{
options
.
compilerOptions
.
preserveWhitespace
=
true
return
options
})
.
end
()
config
config
.
when
(
process
.
env
.
NODE_ENV
!==
'development'
,
.
when
(
process
.
env
.
NODE_ENV
!==
'development'
,
config
=>
{
config
=>
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论