Commit 5072ad7e authored by verestrasz's avatar verestrasz

update

parent adde25f8
......@@ -1410,12 +1410,12 @@ export default {
if (errMsg) {
return this.$Notice.warning({ title: errMsg });
}
// var regex1 = new RegExp(
// "(i?)(<p)(?!(.*?style=['\"](.*)['\"])[^>]+>)",
// "gmi"
// );
// 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'):"";
var regex1 = new RegExp(
"(i?)(<p)(?!(.*?style=['\"](.*)['\"])[^>]+>)",
"gmi"
);
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'):"";
let apiName =
this.isAdd || this.isDraft
? "addGood"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment