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 e55b423c
authored
Aug 22, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit 提交
1 parent
724aed4e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
components/Canvas/wn-canvas.vue
env.js
pages/equity/detail/detail.vue
components/Canvas/wn-canvas.vue
View file @
e55b423
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<zoom-pan
<zoom-pan
:class=
"['canvas-box',
{fill:custom}]"
:class=
"['canvas-box',
{fill:custom}]"
:disabled="drawStatus || !scaleSwitch"
:disabled="drawStatus || !scaleSwitch"
:scale-max="
5
"
:scale-max="
3
"
:scale-min="1"
:scale-min="1"
@scale="scale"
@scale="scale"
>
>
...
...
env.js
View file @
e55b423
const
target
=
[
"ip"
,
"dev"
,
"uat"
,
"prod"
,
"beta"
];
const
target
=
[
"ip"
,
"dev"
,
"uat"
,
"prod"
,
"beta"
];
const
index
=
4
;
const
index
=
2
;
/**
/**
*
*
0本地
0本地
...
...
pages/equity/detail/detail.vue
View file @
e55b423
...
@@ -204,6 +204,7 @@ export default {
...
@@ -204,6 +204,7 @@ export default {
}
}
},
},
touchEnd
(
e
)
{
touchEnd
(
e
)
{
if
(
this
.
modeName
)
return
try
{
try
{
let
{
toolList
,
drawStatus
,
startX
,
screenWidth
,
id
,
scaleValueObject
,
productModelStatus
}
=
this
let
{
toolList
,
drawStatus
,
startX
,
screenWidth
,
id
,
scaleValueObject
,
productModelStatus
}
=
this
if
(
!
e
||
!
e
.
changedTouches
||
drawStatus
||
toolList
.
length
==
0
||
e
.
changedTouches
.
length
===
0
)
return
if
(
!
e
||
!
e
.
changedTouches
||
drawStatus
||
toolList
.
length
==
0
||
e
.
changedTouches
.
length
===
0
)
return
...
@@ -219,7 +220,7 @@ export default {
...
@@ -219,7 +220,7 @@ export default {
this
.
$emit
(
'update:id'
,
nextId
)
this
.
$emit
(
'update:id'
,
nextId
)
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
modeName
=
''
this
.
modeName
=
''
},
3
00
)
},
5
00
)
}
}
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
log
(
error
)
console
.
log
(
error
)
...
...
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