mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
小调整
This commit is contained in:
parent
901b09f47b
commit
1b5593c0c7
@ -130,7 +130,7 @@ module.exports = function (ret, pack, settings, opt) {
|
||||
try {
|
||||
throw new Error()
|
||||
} catch (e) {
|
||||
d = (/((?:https?|file)\:.*)$/.test(e.stack) && RegExp.$1).replace(/\\/[^\\/]*$/, '');
|
||||
d = (/((?:https?|file)\:.*)$/.test(e.stack) ? RegExp.$1 : '').replace(/\\/[^\\/]*$/, '');
|
||||
}
|
||||
${contents.replace(/\"url\"\s*\:\s*('|")(\.\/.*)\1/g, function (
|
||||
_,
|
||||
|
Loading…
Reference in New Issue
Block a user