1
yaphets666 2020-12-29 10:21:42 +08:00
Object.defineProperty(obj,prop,{
set:function (val) { if(val === ' ') { return } } }) 行吗 |
2
vitozyf OP @yaphets666 貌似不能实现
|
3
coocier 2020-12-29 12:27:37 +08:00
// 配置观察选项:
var config = { attributes: true, childList: true, characterData: true, subtree: true} |