优化现有代码问题
This commit is contained in:
@@ -16,7 +16,7 @@ class CustomChar extends CharField {
|
||||
|
||||
onMounted() {
|
||||
super.onMounted();
|
||||
console.log('CustomChar.onMounted1');
|
||||
// console.log('CustomChar.onMounted1');
|
||||
// 当光标聚焦于输入框时,选中输入框内容
|
||||
this.input.el.addEventListener('focus', function () {
|
||||
this.select();
|
||||
|
||||
Reference in New Issue
Block a user