mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-06 06:40:27 +08:00
修复点击修改WAF规则时未保存时也会生效的Bug
This commit is contained in:
@@ -49,6 +49,10 @@ window.teaweb = {
|
||||
}
|
||||
return true;
|
||||
},
|
||||
clone: function (source) {
|
||||
let s = JSON.stringify(source)
|
||||
return JSON.parse(s)
|
||||
},
|
||||
|
||||
loadJS: function (file, callback) {
|
||||
let element = document.createElement("script")
|
||||
@@ -940,7 +944,7 @@ window.teaweb = {
|
||||
},
|
||||
chartMap: {}, // dom id => chart
|
||||
initChart: function (dom, cache) {
|
||||
if (typeof(cache) != "boolean") {
|
||||
if (typeof (cache) != "boolean") {
|
||||
cache = true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user