@zhangqingcq/vgce 0.1.17 → 0.1.18
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 -3
- package/dist/vgce.umd.cjs +1 -1
- package/package.json +1 -1
- package/src/components/svg-viewer.vue +2 -0
package/package.json
CHANGED
@@ -206,6 +206,8 @@
|
|
206
206
|
for (let a of e.attrs) {
|
207
207
|
if (a.key === 'state') {
|
208
208
|
t.defaultState = valFormat(a.val)
|
209
|
+
} else if (a.key === 'display') {
|
210
|
+
t.display = valFormat(a.val)
|
209
211
|
} else if (t.props.hasOwnProperty(a.key)) {
|
210
212
|
t.props[a.key].val = valFormat(a.val)
|
211
213
|
}
|