parent
c56013c9b4
commit
065271f2f6
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "wkit",
|
"name": "wkit",
|
||||||
"version": "1.11.4",
|
"version": "1.11.5",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "A library for building fast, lightweight web components.",
|
"description": "A library for building fast, lightweight web components.",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
|
|
@ -548,7 +548,8 @@ class AttributePart {
|
||||||
this.#value[i] = v
|
this.#value[i] = v
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (changed) {
|
// value属性做特殊处理, 解决输入框无法清空的问题
|
||||||
|
if (changed || this.name === 'value') {
|
||||||
this.commitValue(value)
|
this.commitValue(value)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue