Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
E
ec-report-refactor
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lihuizhen
ec-report-refactor
Commits
a78e3e01
Commit
a78e3e01
authored
Dec 14, 2022
by
leon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: remove console log
parent
41aa6707
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
9 deletions
+1
-9
ModelData.vue
components/ModelData/ModelData.vue
+1
-8
NormalTabs.vue
components/NormalTabs/NormalTabs.vue
+0
-1
No files found.
components/ModelData/ModelData.vue
View file @
a78e3e01
...
...
@@ -120,9 +120,7 @@
this
.
moveY
=
moveY
;
},
touchEnd
(
event
)
{
if
(
Math
.
abs
(
this
.
moveX
)
>
40
&&
this
.
like_state
!=
-
100
)
{
console
.
log
(
"this index = "
,
this
.
index
)
var
state
=
this
.
like_state
if
(
Math
.
abs
(
this
.
moveX
)
>
40
&&
this
.
like_state
!=
-
100
)
{
var
state
=
this
.
like_state
this
.
like_state
=
-
100
//设置这个数是为了避免滑动之后点击不走touchMove而产生的不正常滑动
//这里放需要进行的业务逻辑
if
(
state
===
1
&&
this
.
index
<
this
.
popupData
.
length
-
1
)
{
...
...
@@ -141,9 +139,7 @@
this
.
animationData
=
{}
},
250
)
this
.
index
+=
1
// this.popupObject = this.popupData[this.index]
this
.
$set
(
this
.
popupObject
,
''
,
this
.
popupData
[
this
.
index
])
console
.
log
(
"end this index = "
,
this
.
index
)
}
if
(
state
===
-
1
&&
this
.
index
>
0
)
{
this
.
animation
.
translateX
(
'100%'
).
step
()
...
...
@@ -161,11 +157,8 @@
this
.
animationData
=
{}
},
250
)
this
.
index
-=
1
// this.popupObject = this.popupData[this.index]
this
.
$set
(
this
.
popupObject
,
''
,
this
.
popupData
[
this
.
index
])
console
.
log
(
"end this index = "
,
this
.
index
)
}
console
.
log
(
"popupObject = "
,
this
.
popupObject
)
}
}
}
...
...
components/NormalTabs/NormalTabs.vue
View file @
a78e3e01
...
...
@@ -114,7 +114,6 @@
this
.
tabsValueChange
()
},
handleSelectChange
(
e
)
{
console
.
log
(
e
)
this
.
selectValue
=
e
[
0
].
label
this
.
tabsValue
=
e
[
0
].
value
this
.
defaultValue
[
0
]
=
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment