优化警告问题

This commit is contained in:
mgw
2023-11-27 22:40:56 +08:00
parent 4f83c5f29a
commit 9fef877d12
4 changed files with 7 additions and 12 deletions

View File

@@ -73,10 +73,7 @@ class CustomChar extends CharField {
// this.$input.on('focus', function () {
// $(this).select();
// });
// 当光标聚焦于输入框时,选中输入框内容
}
registry.category("fields").add("custom_char", CustomChar);

View File

@@ -24,7 +24,6 @@ class CustomMany2One extends Many2OneField {
this.select();
});
}
}
registry.category("fields").add("custom_many2one", CustomMany2One);