@zhangqingcq/vgce 0.0.28 → 0.0.29
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/style.css +1 -1
- package/dist/vgce.js +3 -4
- package/dist/vgce.umd.cjs +1 -1
- package/package.json +1 -1
- package/src/components/svg-viewer.vue +2 -4
package/package.json
CHANGED
@@ -188,11 +188,9 @@
|
|
188
188
|
continue
|
189
189
|
}
|
190
190
|
|
191
|
-
console.log(t, e)
|
192
|
-
|
193
191
|
for (let a of e.attrs) {
|
194
|
-
if (
|
195
|
-
t.
|
192
|
+
if (a.key === 'state') {
|
193
|
+
t.defaultState = valFormat(a.val)
|
196
194
|
} else if (t.props.hasOwnProperty(a.key)) {
|
197
195
|
t.props[a.key].val = valFormat(a.val)
|
198
196
|
}
|