Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
h5-admin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
yimu
h5-admin
Commits
adde25f8
Commit
adde25f8
authored
Mar 07, 2022
by
verestrasz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
2b074ed5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
13 deletions
+9
-13
index.vue
src/view/good-mgr/add-good/index.vue
+6
-11
vue.config.js
vue.config.js
+3
-2
No files found.
src/view/good-mgr/add-good/index.vue
View file @
adde25f8
...
@@ -1410,17 +1410,12 @@ export default {
...
@@ -1410,17 +1410,12 @@ export default {
if
(
errMsg
)
{
if
(
errMsg
)
{
return
this
.
$Notice
.
warning
({
title
:
errMsg
});
return
this
.
$Notice
.
warning
({
title
:
errMsg
});
}
}
var
regex1
=
new
RegExp
(
// var regex1 = new RegExp(
"(i?)(<p)(?!(.*?style=['
\"
](.*)['
\"
])[^>]+>)"
,
// "(i?)(
<
p
)(?
!
(.
*
?
style
=
[
'
\
"](.*)['
\
"])[^>]+>)"
,
"gmi"
// "gmi"
);
// );
form
.
detail
=
form
.
detail
?
form
.
detail
.
replace
(
regex1
,
'$2 style="padding:0 10px"$3'
):
""
;
// form.detail = form.detail?form.detail.replace(regex1, '$2 style="padding:0 10px"$3'):"";
form
.
blindBoxRule
=
form
.
blindBoxRule
?
form
.
blindBoxRule
.
replace
(
regex1
,
'$2 style="padding:0 10px"$3'
):
""
;
// form.blindBoxRule = form.blindBoxRule?form.blindBoxRule.replace(regex1, '$2 style="padding:0 10px"$3'):"";
var
regex1
=
new
RegExp
(
"(i?)(<p)(?!(.*?style=['
\"
](.*)['
\"
])[^>]+>)"
,
"gmi"
);
form
.
detail
=
form
.
detail
.
replace
(
regex1
,
'$2 style="padding:0 10px"$3'
);
let
apiName
=
let
apiName
=
this
.
isAdd
||
this
.
isDraft
this
.
isAdd
||
this
.
isDraft
?
"addGood"
?
"addGood"
...
...
vue.config.js
View file @
adde25f8
...
@@ -45,9 +45,10 @@ module.exports = {
...
@@ -45,9 +45,10 @@ module.exports = {
pathRewrite
:
{
pathRewrite
:
{
'^/root'
:
'/'
'^/root'
:
'/'
},
},
target
:
'http://172.22.17.174:8088'
//
target: 'http://172.22.17.174:8088'
// target: 'http://172.22.17.108:8088'
// target: 'http://172.22.17.108:8088'
target
:
'https://testadminym.8n.cn/root'
},
},
'/contact'
:
{
'/contact'
:
{
...
...
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