forked from github/dataease
fix: 修复safari由于不支持对js中正则表达式的 几个新增的断言验证不支持导致的白屏
This commit is contained in:
parent
2c4a92fef4
commit
d5f630cfea
@ -420,9 +420,10 @@ export default {
|
|||||||
pre[next[from]] = next[to]
|
pre[next[from]] = next[to]
|
||||||
return pre
|
return pre
|
||||||
}, {})
|
}, {})
|
||||||
const on = originName.match(/(?<=\[).+?(?=\])/g)
|
const on = originName.match(/\[(.+?)\]/g)
|
||||||
if (on) {
|
if (on) {
|
||||||
on.forEach(ele => {
|
on.forEach(itm => {
|
||||||
|
const ele = itm.slice(1, -1)
|
||||||
if (name2Auto) {
|
if (name2Auto) {
|
||||||
name2Auto.push(nameIdMap[ele])
|
name2Auto.push(nameIdMap[ele])
|
||||||
}
|
}
|
||||||
|
@ -371,9 +371,10 @@ export default {
|
|||||||
pre[next[from]] = next[to]
|
pre[next[from]] = next[to]
|
||||||
return pre
|
return pre
|
||||||
}, {})
|
}, {})
|
||||||
const on = originName.match(/(?<=\[).+?(?=\])/g)
|
const on = originName.match(/\[(.+?)\]/g)
|
||||||
if (on) {
|
if (on) {
|
||||||
on.forEach(ele => {
|
on.forEach(itm => {
|
||||||
|
const ele = itm.slice(1, -1)
|
||||||
if (name2Auto) {
|
if (name2Auto) {
|
||||||
name2Auto.push(nameIdMap[ele])
|
name2Auto.push(nameIdMap[ele])
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user