Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
FlyFish
Commits
ed7d5d74
Commit
ed7d5d74
authored
2 years ago
by
jincheny
Browse files
Options
Download
Email Patches
Plain Diff
Fixed 部署文档补充
parent
43aea239
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/03-FlyFish平台部署篇.md
+15
-5
doc/03-FlyFish平台部署篇.md
lcapWeb/src/pages/User/UserManage/components/EditUsertModal/index.js
+1
-1
.../pages/User/UserManage/components/EditUsertModal/index.js
with
16 additions
and
6 deletions
+16
-6
doc/03-FlyFish平台部署篇.md
+
15
-
5
View file @
ed7d5d74
...
@@ -27,6 +27,7 @@ npm run build
...
@@ -27,6 +27,7 @@ npm run build
2.
修改前端配置
2.
修改前端配置
```
bash
```
bash
# FlyFish 目录下执行
# 修改配置
# 修改配置
vim lcapWeb/lcapWeb/conf/env-config.js
vim lcapWeb/lcapWeb/conf/env-config.js
...
@@ -55,7 +56,16 @@ componentSplitApiPrefix: '/api'
...
@@ -55,7 +56,16 @@ componentSplitApiPrefix: '/api'
```
```
3.
nginx 部署前端
3.
修改大屏应用开发配置
```
bash
# FlyFish 目录下执行
# CW_LOCAL_IP 修改为 当前主机IP
vim ./lcapWeb/lcapWeb/www/web/screen/config/env.js
```
4.
nginx 部署前端
```
bash
```
bash
# 以下命令要在根目录下执行
# 以下命令要在根目录下执行
...
@@ -66,14 +76,14 @@ nginx 配置文件位置检查
...
@@ -66,14 +76,14 @@ nginx 配置文件位置检查
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf
test
is successful
nginx: configuration file /usr/local/nginx/conf/nginx.conf
test
is successful
touch
/etc/nginx/conf.d/
F
ly
F
ish
-2.1.0
.conf
touch
/etc/nginx/conf.d/
f
ly
f
ish.conf
or
or
touch
/usr/local/nginx/conf/conf.d/
F
ly
F
ish
-2.1.0
.conf
touch
/usr/local/nginx/conf/conf.d/
f
ly
f
ish.conf
# 添加配置
# 添加配置
vim /etc/nginx/conf.d/
F
ly
F
ish
-2.1.0
.conf
vim /etc/nginx/conf.d/
f
ly
f
ish.conf
or
or
vim /usr/local/nginx/conf/conf.d/
F
ly
F
ish
-2.1.0
.conf
vim /usr/local/nginx/conf/conf.d/
f
ly
f
ish.conf
# 复制并修改以下配置到 flyfish.conf
# 复制并修改以下配置到 flyfish.conf
map
$http_upgrade
$connection_upgrade
{
map
$http_upgrade
$connection_upgrade
{
...
...
This diff is collapsed.
Click to expand it.
lcapWeb/src/pages/User/UserManage/components/EditUsertModal/index.js
+
1
-
1
View file @
ed7d5d74
...
@@ -99,7 +99,7 @@ export default Form.create({ name: "FORM_IN_USER_MODAL" })(
...
@@ -99,7 +99,7 @@ export default Form.create({ name: "FORM_IN_USER_MODAL" })(
})
+
"
用户邮箱
"
,
})
+
"
用户邮箱
"
,
},
},
{
{
pattern
:
/^
[
A-Za-zd0-9
]
+
([
-_.
][
A-Za-zd
]
+
)
*@
([
A-Za-zd
]
+
[
-.
])
+
[
A-Za-zd
]{2,5}
$
/
,
pattern
:
/^
([
a-zA-Z0-9_-
])
+@
([
a-zA-Z0-9_-
])
+
(
.
[
a-zA-Z0-9_-
])
+
/
,
message
:
"
请输入正确的邮箱格式
"
,
message
:
"
请输入正确的邮箱格式
"
,
},
},
],
],
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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