修复属性绑定
parent
0043895a66
commit
afac6fddb2
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "wkit",
|
||||
"version": "1.10.13",
|
||||
"version": "1.10.14",
|
||||
"type": "module",
|
||||
"description": "A library for building fast, lightweight web components.",
|
||||
"main": "dist/index.js",
|
||||
|
|
|
@ -481,7 +481,7 @@ class AttributePart {
|
|||
this.$parent = parent
|
||||
this.options = options
|
||||
if (strings.length > 2 || strings[0] !== '' || strings[1] !== '') {
|
||||
this._$committedValue = new Array(strings.length - 1).fill('')
|
||||
this._$committedValue = Array(strings.length - 1).fill(null)
|
||||
this.strings = strings
|
||||
} else {
|
||||
this._$committedValue = NOTHING
|
||||
|
|
Loading…
Reference in New Issue