@zhangqingcq/vgce 0.1.31 → 0.1.32

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -132,11 +132,13 @@ or
132
132
  ```
133
133
  // editor
134
134
 
135
- <SvgEditor :data="xxx" @onPreview="previewHandle">
135
+ <SvgEditor :data="xxx" slotBackground @onPreview="previewHandle">
136
136
  <template #background>
137
137
  <div style="height: 100%; width: 100%; background-color: red"></div>
138
138
  </template>
139
139
  </SvgEditor>
140
+
141
+ //注意:使用自定义背景功能时,editor的slotBackground属性传true,让‘图纸’面板‘背景色’功能不可见,避免让操作者产生‘背景色设置不生效’的错觉
140
142
  ```
141
143
  ```
142
144
  // viewer