@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhangqingcq/vgce",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "description": "Vector graphics configure editor. svg组态编辑器。基于vue3.3+ts+element-plus+vite",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -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
  }