Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
link-tools
Overview
Overview
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
vue-plugins
link-tools
Commits
73cc92a8
Commit
73cc92a8
authored
Dec 26, 2018
by
member
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改新增类型判断
parent
857ed225
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
linktools.vue
linktools.vue
+6
-2
linktoolspage.vue
linktoolspage.vue
+6
-2
No files found.
linktools.vue
View file @
73cc92a8
...
@@ -1036,9 +1036,13 @@ export default {
...
@@ -1036,9 +1036,13 @@ export default {
// threeSingleValueChange
// threeSingleValueChange
threeSingleValueChange
(
e
)
{
threeSingleValueChange
(
e
)
{
// 是那个类型的
// 是那个类型的
console
.
log
(
this
.
threeLevelOptions
);
//
console.log(this.threeLevelOptions);
this
.
giftType
=
e
;
this
.
giftType
=
e
;
this
.
visibleType
=
this
.
giftType
==
'coup'
?
8
:
9
;
if
(
this
.
giftType
==
'coup'
)
{
this
.
visibleType
=
8
;
}
else
if
(
this
.
giftType
==
'gift'
)
{
this
.
visibleType
=
9
;
}
var
that
=
this
var
that
=
this
var
selThreeItem
=
''
;
var
selThreeItem
=
''
;
that
.
threeLevelOptions
.
forEach
(
function
(
ele
,
index
){
that
.
threeLevelOptions
.
forEach
(
function
(
ele
,
index
){
...
...
linktoolspage.vue
View file @
73cc92a8
...
@@ -1005,9 +1005,13 @@ export default {
...
@@ -1005,9 +1005,13 @@ export default {
// threeSingleValueChange
// threeSingleValueChange
threeSingleValueChange
(
e
)
{
threeSingleValueChange
(
e
)
{
// 是那个类型的
// 是那个类型的
console
.
log
(
this
.
threeLevelOptions
);
//
console.log(this.threeLevelOptions);
this
.
giftType
=
e
;
this
.
giftType
=
e
;
this
.
visibleType
=
this
.
giftType
==
'coup'
?
8
:
9
;
if
(
this
.
giftType
==
'coup'
)
{
this
.
visibleType
=
8
;
}
else
if
(
this
.
giftType
==
'gift'
)
{
this
.
visibleType
=
9
;
}
var
that
=
this
var
that
=
this
var
selThreeItem
=
''
;
var
selThreeItem
=
''
;
that
.
threeLevelOptions
.
forEach
(
function
(
ele
,
index
){
that
.
threeLevelOptions
.
forEach
(
function
(
ele
,
index
){
...
...
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