@zhangqingcq/vgce 0.0.29 → 0.0.30
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 +4 -4
- package/dist/vgce.umd.cjs +1 -1
- package/package.json +1 -1
- package/src/components/svg-viewer.vue +2 -1
package/package.json
CHANGED
@@ -152,6 +152,7 @@
|
|
152
152
|
return { cursor: t ? 'pointer' : 'default' }
|
153
153
|
}
|
154
154
|
const eventHandle = (root: IDoneJson, type: EEventType) => {
|
155
|
+
console.log(root.events, type)
|
155
156
|
if (root.events?.length > 0) {
|
156
157
|
for (let e of root.events) {
|
157
158
|
if (e.type === type) {
|
@@ -174,7 +175,7 @@
|
|
174
175
|
if (e.attrs && e.attrs.length > 0) {
|
175
176
|
let t
|
176
177
|
if (e.target) {
|
177
|
-
for (let item of
|
178
|
+
for (let item of preview_data.done_json) {
|
178
179
|
if (item.id === e.target) {
|
179
180
|
t = item
|
180
181
|
break
|