Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2d9788e4
authored
Jul 08, 2024
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.0.7' of
http://192.168.3.233:8090/glsx/gl_tape
into v1.0.7
2 parents
63adaef6
97f5c3e0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
components/Canvas/wn-canvas.vue
components/Canvas/zoom-pan.vue
components/Canvas/wn-canvas.vue
View file @
2d9788e
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
<zoom-pan
<zoom-pan
:class=
"['canvas-box',
{fill:custom}]"
:class=
"['canvas-box',
{fill:custom}]"
:disabled="drawStatus"
:disabled="drawStatus"
:restore="watchStatus"
:scale-max="5"
:scale-max="5"
:scale-min="1"
:scale-min="1"
@scale="scale"
@scale="scale"
...
...
components/Canvas/zoom-pan.vue
View file @
2d9788e
...
@@ -14,7 +14,6 @@
...
@@ -14,7 +14,6 @@
:scale-min="scaleMin"
:scale-min="scaleMin"
:scale-max="scaleMax"
:scale-max="scaleMax"
:disabled="disabled"
:disabled="disabled"
out-of-bounds
@scale="onScale"
@scale="onScale"
:scale-value="defalutscale"
:scale-value="defalutscale"
>
>
...
@@ -31,7 +30,6 @@ import utils from "@/utils/utils.js";
...
@@ -31,7 +30,6 @@ import utils from "@/utils/utils.js";
export
default
{
export
default
{
props
:
{
props
:
{
disabled
:
Boolean
,
disabled
:
Boolean
,
restore
:
Number
,
scaleMax
:
{
scaleMax
:
{
type
:
Number
,
type
:
Number
,
default
:
10
default
:
10
...
@@ -50,8 +48,8 @@ export default {
...
@@ -50,8 +48,8 @@ export default {
};
};
},
},
watch
:
{
watch
:
{
watchS
caleValue
()
{
watchS
tatus
()
{
if
(
this
.
defalutscale
!=
1
)
this
.
defalutscale
=
2
if
(
this
.
defalutscale
!=
1
)
this
.
defalutscale
=
1.1
this
.
scale
=
1
this
.
scale
=
1
this
.
transformOriginStyle
=
`50% 50%'`
this
.
transformOriginStyle
=
`50% 50%'`
setTimeout
(()
=>
{
setTimeout
(()
=>
{
...
@@ -60,8 +58,8 @@ export default {
...
@@ -60,8 +58,8 @@ export default {
}
}
},
},
computed
:
{
computed
:
{
watchS
caleValue
()
{
watchS
tatus
()
{
return
this
.
restore
return
this
.
$store
.
state
.
user
.
historyStatus
}
}
},
},
methods
:
{
methods
:
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment