Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taobao-mini-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
qinhaitao
taobao-mini-template
Commits
f6f20e7f
Commit
f6f20e7f
authored
May 19, 2021
by
gongguan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加prize-dialog的防抖
parent
1bbd4789
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
prize-dialog.js
client/components/dialog/prize-dialog/prize-dialog.js
+3
-3
No files found.
client/components/dialog/prize-dialog/prize-dialog.js
View file @
f6f20e7f
...
@@ -4,7 +4,7 @@ const plugin = requirePlugin("myPlugin");
...
@@ -4,7 +4,7 @@ const plugin = requirePlugin("myPlugin");
import
{
bizCode
}
from
"/config"
;
import
{
bizCode
}
from
"/config"
;
import
{
queryBenefitByEname
}
from
"/api"
;
import
{
queryBenefitByEname
}
from
"/api"
;
import
{
chooseImage
,
getImageInfo
,
validateRangeNumber
,
isDot
}
from
"/utils"
;
import
{
chooseImage
,
getImageInfo
,
validateRangeNumber
,
isDot
}
from
"/utils"
;
import
{
passUrlList
,
urlCheck
}
from
"../../../utils/helper"
;
import
{
passUrlList
,
urlCheck
,
throttleHandle
}
from
"../../../utils/helper"
;
const
EQUITY_TYPE
=
1
;
const
EQUITY_TYPE
=
1
;
const
CREDITS_TYPE
=
2
;
const
CREDITS_TYPE
=
2
;
const
OBJECT_TYPE
=
3
;
const
OBJECT_TYPE
=
3
;
...
@@ -291,7 +291,7 @@ Component({
...
@@ -291,7 +291,7 @@ Component({
}
}
})
})
},
},
async
uploadImage
()
{
uploadImage
:
throttleHandle
(
async
function
()
{
try
{
try
{
this
.
setData
({
this
.
setData
({
showDialogMask
:
false
,
showDialogMask
:
false
,
...
@@ -341,7 +341,7 @@ Component({
...
@@ -341,7 +341,7 @@ Component({
});
});
console
.
error
(
error
);
console
.
error
(
error
);
}
}
},
},
1000
),
onChangePrizeValue
(
e
)
{
onChangePrizeValue
(
e
)
{
const
key
=
e
.
target
.
dataset
.
name
;
const
key
=
e
.
target
.
dataset
.
name
;
const
value
=
e
.
detail
.
value
;
const
value
=
e
.
detail
.
value
;
...
...
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