@zhangqingcq/vgce 0.1.23 → 0.1.25

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.23",
3
+ "version": "0.1.25",
4
4
  "description": "Vector graphics configure editor. svg组态编辑器。基于vue3.3+ts+element-plus+vite",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -131,7 +131,7 @@
131
131
  if (e.wheelDelta > 0) {
132
132
  preview_data.config.svg.scale = myFixed(preview_data.config.svg.scale + 0.1, 1)
133
133
  getZoomPosition(e, preview_data.config.svg.scale, preview_data.layout_center, true)
134
- } else {
134
+ } else if (preview_data.config.svg.scale > 0.1) {
135
135
  preview_data.config.svg.scale = myFixed(preview_data.config.svg.scale - 0.1, 1)
136
136
  getZoomPosition(e, preview_data.config.svg.scale, preview_data.layout_center, false)
137
137
  }
@@ -17,7 +17,7 @@ class Link {
17
17
  this.client = connect(_url, {
18
18
  username: user.trim(),
19
19
  password: pwd.trim(),
20
- reconnectPeriod: 600000 /*如果连不上,10分钟后重试*/
20
+ reconnectPeriod: 120000 /*如果连不上,2分钟后重试*/
21
21
  })
22
22
 
23
23
  this.client?.on('connect', () => {