Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bims
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙海亮
bims
Commits
81d2bcbf
Commit
81d2bcbf
authored
Jul 27, 2022
by
yanglilong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改邮件预览
parent
e1061311
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
README.md
README.md
+2
-2
package.json
package.json
+0
-1
add.vue
src/views/pre-auth/add.vue
+2
-1
No files found.
README.md
View file @
81d2bcbf
...
@@ -16,13 +16,13 @@
...
@@ -16,13 +16,13 @@
### bug文档地址
### bug文档地址
> https://doc.weixin.qq.com/sheet/e3_AJUAZgYxAAgc43lZU8US7aQNaosuJ?scode=AMoAawcKABAwUOv0vIACEApQbQAFk&tab=BB08J2
> https://doc.weixin.qq.com/sheet/e3_AJUAZgYxAAgc43lZU8US7aQNaosuJ?scode=AMoAawcKABAwUOv0vIACEApQbQAFk&tab=BB08J2
### 测试
### 测试
npm run build
1.
IP: 114.55.4.202
1.
IP: 114.55.4.202
2.
域名 http://nt.run4wd.com/bims
2.
域名 http://nt.run4wd.com/bims
3.
登录账密 admin/123456
3.
登录账密 admin/123456
4.
发布目录:/datavg/bims/
4.
发布目录:/datavg/bims/
### 生产
### 生产
npm run build
1.
IP: 139.224.200.172
1.
IP: 139.224.200.172
2.
域名 http://bims.medilink-global.com.cn
2.
域名 http://bims.medilink-global.com.cn
3.
登录账密 admin/123456
3.
登录账密 admin/123456
...
...
package.json
View file @
81d2bcbf
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
"private"
:
true
,
"private"
:
true
,
"scripts"
:
{
"scripts"
:
{
"serve"
:
"vue-cli-service serve --mode development"
,
"serve"
:
"vue-cli-service serve --mode development"
,
"build:test"
:
"vue-cli-service build --mode development"
,
"build"
:
"vue-cli-service build --mode production --report"
,
"build"
:
"vue-cli-service build --mode production --report"
,
"lint"
:
"vue-cli-service lint"
"lint"
:
"vue-cli-service lint"
},
},
...
...
src/views/pre-auth/add.vue
View file @
81d2bcbf
...
@@ -483,8 +483,9 @@ export default{
...
@@ -483,8 +483,9 @@ export default{
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
this
.
loading2
=
false
;
this
.
loading2
=
false
;
if
(
res
.
returnCode
==
'
0000
'
){
if
(
res
.
returnCode
==
'
0000
'
){
let
data
=
res
.
content
||
{};
//防止图片或者视频超过弹窗的宽度
//防止图片或者视频超过弹窗的宽度
this
.
previewContent
=
(
res
.
data
||
""
).
replace
(
/<img/gi
,
"
<img style='max-width:100%;height:auto;'
"
)
this
.
previewContent
=
(
data
.
content
||
""
).
replace
(
/<img/gi
,
"
<img style='max-width:100%;height:auto;'
"
)
.
replace
(
/<video/gi
,
"
<video style='width:100%;height:auto;'
"
);
.
replace
(
/<video/gi
,
"
<video style='width:100%;height:auto;'
"
);
this
.
previewModalShow
=
true
;
this
.
previewModalShow
=
true
;
}
else
{
}
else
{
...
...
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