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
6c4224fe
Commit
6c4224fe
authored
Nov 25, 2022
by
蒋凌峰
😉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
60d747c1
Pipeline
#69
failed with stages
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
11 deletions
+10
-11
ruoyi-admin/src/main/resources/application.yml
ruoyi-admin/src/main/resources/application.yml
+7
-7
ruoyi-ui/src/router/index.js
ruoyi-ui/src/router/index.js
+1
-1
ruoyi-ui/src/store/modules/permission.js
ruoyi-ui/src/store/modules/permission.js
+1
-1
ruoyi-ui/vue.config.js
ruoyi-ui/vue.config.js
+1
-2
No files found.
ruoyi-admin/src/main/resources/application.yml
View file @
6c4224fe
...
@@ -9,7 +9,7 @@ ruoyi:
...
@@ -9,7 +9,7 @@ ruoyi:
# 实例演示开关
# 实例演示开关
demoEnabled
:
true
demoEnabled
:
true
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
profile
:
D:
/ruoyi/uploadPath
profile
:
/home
/ruoyi/uploadPath
# 获取ip地址开关
# 获取ip地址开关
addressEnabled
:
false
addressEnabled
:
false
# 验证码类型 math 数组计算 char 字符验证
# 验证码类型 math 数组计算 char 字符验证
...
@@ -53,7 +53,7 @@ spring:
...
@@ -53,7 +53,7 @@ spring:
messages
:
messages
:
# 国际化资源文件路径
# 国际化资源文件路径
basename
:
i18n/messages
basename
:
i18n/messages
profiles
:
profiles
:
active
:
druid
active
:
druid
# 文件上传
# 文件上传
servlet
:
servlet
:
...
@@ -76,7 +76,7 @@ spring:
...
@@ -76,7 +76,7 @@ spring:
# 数据库索引
# 数据库索引
database
:
0
database
:
0
# 密码
# 密码
password
:
password
:
# 连接超时时间
# 连接超时时间
timeout
:
10s
timeout
:
10s
lettuce
:
lettuce
:
...
@@ -98,7 +98,7 @@ token:
...
@@ -98,7 +98,7 @@ token:
secret
:
abcdefghijklmnopqrstuvwxyz
secret
:
abcdefghijklmnopqrstuvwxyz
# 令牌有效期(默认30分钟)
# 令牌有效期(默认30分钟)
expireTime
:
30
expireTime
:
30
# MyBatis配置
# MyBatis配置
#mybatis:
#mybatis:
# # 搜索指定包别名
# # 搜索指定包别名
...
@@ -126,10 +126,10 @@ mybatis-plus:
...
@@ -126,10 +126,10 @@ mybatis-plus:
# PageHelper分页插件
# PageHelper分页插件
pagehelper
:
pagehelper
:
helperDialect
:
mysql
helperDialect
:
mysql
supportMethodsArguments
:
true
supportMethodsArguments
:
true
params
:
count=countSql
params
:
count=countSql
# Swagger配置
# Swagger配置
swagger
:
swagger
:
...
@@ -139,7 +139,7 @@ swagger:
...
@@ -139,7 +139,7 @@ swagger:
pathMapping
:
/dev-api
pathMapping
:
/dev-api
# 防止XSS攻击
# 防止XSS攻击
xss
:
xss
:
# 过滤开关
# 过滤开关
enabled
:
true
enabled
:
true
# 排除链接(多个用逗号分隔)
# 排除链接(多个用逗号分隔)
...
...
ruoyi-ui/src/router/index.js
View file @
6c4224fe
...
@@ -171,7 +171,7 @@ Router.prototype.push = function push(location) {
...
@@ -171,7 +171,7 @@ Router.prototype.push = function push(location) {
}
}
export
default
new
Router
({
export
default
new
Router
({
mode
:
'
history
'
,
//
去掉url中的#
mode
:
'
history
'
,
//
scrollBehavior
:
()
=>
({
y
:
0
}),
scrollBehavior
:
()
=>
({
y
:
0
}),
routes
:
constantRoutes
routes
:
constantRoutes
})
})
ruoyi-ui/src/store/modules/permission.js
View file @
6c4224fe
...
@@ -122,7 +122,7 @@ export function filterDynamicRoutes(routes) {
...
@@ -122,7 +122,7 @@ export function filterDynamicRoutes(routes) {
}
}
export
const
loadView
=
(
view
)
=>
{
export
const
loadView
=
(
view
)
=>
{
if
(
process
.
env
.
NODE_ENV
===
'
development
'
)
{
if
(
process
.
env
.
NODE_ENV
===
'
development
'
||
process
.
env
.
NODE_ENV
===
'
production
'
)
{
return
(
resolve
)
=>
require
([
`@/views/
${
view
}
`
],
resolve
)
return
(
resolve
)
=>
require
([
`@/views/
${
view
}
`
],
resolve
)
}
else
{
}
else
{
// 使用 import 实现生产环境的路由懒加载
// 使用 import 实现生产环境的路由懒加载
...
...
ruoyi-ui/vue.config.js
View file @
6c4224fe
...
@@ -10,7 +10,6 @@ const CompressionPlugin = require('compression-webpack-plugin')
...
@@ -10,7 +10,6 @@ const CompressionPlugin = require('compression-webpack-plugin')
const
name
=
process
.
env
.
VUE_APP_TITLE
||
'
DBR财务中心
'
// 网页标题
const
name
=
process
.
env
.
VUE_APP_TITLE
||
'
DBR财务中心
'
// 网页标题
const
port
=
process
.
env
.
port
||
process
.
env
.
npm_config_port
||
80
// 端口
const
port
=
process
.
env
.
port
||
process
.
env
.
npm_config_port
||
80
// 端口
// vue.config.js 配置说明
// vue.config.js 配置说明
//官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions
//官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions
// 这里只列一部分,具体配置参考文档
// 这里只列一部分,具体配置参考文档
...
@@ -18,7 +17,7 @@ module.exports = {
...
@@ -18,7 +17,7 @@ module.exports = {
// 部署生产环境和开发环境下的URL。
// 部署生产环境和开发环境下的URL。
// 默认情况下,Vue CLI 会假设你的应用是被部署在一个域名的根路径上
// 默认情况下,Vue CLI 会假设你的应用是被部署在一个域名的根路径上
// 例如 https://www.ruoyi.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.ruoyi.vip/admin/,则设置 baseUrl 为 /admin/。
// 例如 https://www.ruoyi.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.ruoyi.vip/admin/,则设置 baseUrl 为 /admin/。
publicPath
:
process
.
env
.
NODE_ENV
===
"
production
"
?
"
/
"
:
"
/
"
,
publicPath
:
"
/
"
,
// 在npm run build 或 yarn build 时 ,生成文件的目录名称(要和baseUrl的生产环境路径一致)(默认dist)
// 在npm run build 或 yarn build 时 ,生成文件的目录名称(要和baseUrl的生产环境路径一致)(默认dist)
outputDir
:
'
dist
'
,
outputDir
:
'
dist
'
,
// 用于放置生成的静态资源 (js、css、img、fonts) 的;(项目打包之后,静态资源会放在这个文件夹下)
// 用于放置生成的静态资源 (js、css、img、fonts) 的;(项目打包之后,静态资源会放在这个文件夹下)
...
...
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