forked from github/dataease
fix: 拼写检查
This commit is contained in:
parent
9d8b415a24
commit
743aaf42e9
@ -18,10 +18,10 @@ export default {
|
||||
update: function(el, binding) {
|
||||
const { value, maxlength, buttonDisabled } = binding.value
|
||||
if (buttonDisabled && el.querySelector('.el-input__count')) {
|
||||
el.querySelector('.el-input__count').style.dispaly = 'none'
|
||||
el.querySelector('.el-input__count').style.display = 'none'
|
||||
return
|
||||
} else if (el.querySelector('.el-input__count')) {
|
||||
el.querySelector('.el-input__count').style.dispaly = 'block'
|
||||
el.querySelector('.el-input__count').style.display = 'block'
|
||||
}
|
||||
const lg = value?.length || 0
|
||||
const count = el.querySelector('.el-input__count')
|
||||
|
Loading…
Reference in New Issue
Block a user