@zhangqingcq/vgce 0.1.31 → 0.1.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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