@zhangqingcq/vgce 0.1.31 → 0.1.33
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +3 -1
- package/dist/style.css +1 -1
- package/dist/vgce.js +3692 -3685
- package/dist/vgce.umd.cjs +24 -24
- package/package.json +1 -1
- package/src/components/svg-editor/index.vue +4 -2
- package/src/components/svg-editor/right-panel.vue +2 -1
- package/src/config/files/common-table.vue +48 -48
- package/src/config/vue/component/common-table.ts +14 -14
- package/types/index.d.ts +1 -0
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
|