Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
glsx-oss-task
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 11cda4b9
authored
Dec 10, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
解决切换无奖励错误问题
1 parent
8b35e25f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
src/views/task/addTask/index.vue
src/views/task/addTask/index.vue
View file @
11cda4b
...
@@ -1422,15 +1422,19 @@ export default {
...
@@ -1422,15 +1422,19 @@ export default {
},
},
// 奖励模式切换
// 奖励模式切换
rewardTypeChange
(
itm
)
{
rewardTypeChange
(
itm
)
{
console
.
log
(
itm
)
if
(
itm
.
rewardType
==
2
)
{
if
(
itm
.
rewardType
==
2
)
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$set
(
itm
,
'triggerValue'
,
''
)
this
.
$set
(
itm
,
'triggerValue'
,
''
)
this
.
$set
(
itm
,
'rewardCount'
,
''
)
this
.
$set
(
itm
,
'rewardCount'
,
''
)
this
.
$set
(
itm
,
'rewardScore'
,
''
)
this
.
$set
(
itm
,
'minTriggerValue'
,
'1'
)
this
.
$set
(
itm
,
'minTriggerValue'
,
'1'
)
})
})
}
else
if
(
itm
.
rewardType
==
1
)
{
}
else
if
(
itm
.
rewardType
==
1
)
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$set
(
itm
,
'triggerValue'
,
''
)
this
.
$set
(
itm
,
'rewardCount'
,
''
)
this
.
$set
(
itm
,
'rewardCount'
,
''
)
this
.
$set
(
itm
,
'rewardScore'
,
''
)
this
.
$set
(
itm
,
'minTriggerValue'
,
'1'
)
this
.
$set
(
itm
,
'minTriggerValue'
,
'1'
)
})
})
}
else
{
}
else
{
...
@@ -1438,7 +1442,10 @@ export default {
...
@@ -1438,7 +1442,10 @@ export default {
this
.
$set
(
itm
,
'rewardCount'
,
''
)
this
.
$set
(
itm
,
'rewardCount'
,
''
)
this
.
$set
(
itm
,
'minTriggerValue'
,
''
)
this
.
$set
(
itm
,
'minTriggerValue'
,
''
)
this
.
$set
(
itm
,
'rewardScore'
,
''
)
this
.
$set
(
itm
,
'rewardScore'
,
''
)
this
.
$set
(
itm
,
'repeatCount'
,
''
)
this
.
$set
(
itm
,
'repeatFlag'
,
false
)
}
}
console
.
log
(
itm
,
'---'
)
},
},
// 奖励次数切换
// 奖励次数切换
rewardCountChange
(
itm
)
{
rewardCountChange
(
itm
)
{
...
...
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