Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
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
front-end-dev
techbook
Commits
8fe9cb76
Commit
8fe9cb76
authored
May 07, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
防连点
parent
9ecb7233
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
8 deletions
+31
-8
selectInterset.vue
src/views/mobile/selectInterset.vue
+31
-8
No files found.
src/views/mobile/selectInterset.vue
View file @
8fe9cb76
...
...
@@ -25,6 +25,7 @@
data
(){
return
{
intersetList
:[],
disabledFlag
:
0
,
}
},
methods
:{
...
...
@@ -62,15 +63,37 @@
},
handleConfirm
(
data
){
api
.
postIntersetedDictAxios
(
data
).
then
(
res
=>
{
if
(
res
.
code
==
0
){
this
.
$emit
(
"postData"
);
}
else
{
var
that
=
this
;
if
(
this
.
disabledFlag
==
0
){
this
.
disabledFlag
++
;
api
.
postIntersetedDictAxios
(
data
).
then
(
res
=>
{
if
(
res
.
code
==
0
){
this
.
$emit
(
"postData"
);
setTimeout
(
function
(){
that
.
disabledFlag
=
0
;
return
false
;
},
500
)
}
else
{
this
.
$toast
(
res
.
msg
);
setTimeout
(
function
(){
that
.
disabledFlag
=
0
;
return
false
;
},
500
)
}
}).
catch
(
err
=>
{
this
.
$toast
(
err
);
setTimeout
(
function
(){
that
.
disabledFlag
=
0
;
return
false
;
},
500
)
})
}
else
{
setTimeout
(
function
(){
that
.
disabledFlag
=
0
;
return
false
;
},
500
)
}
}
}).
catch
(
err
=>
{
this
.
$toast
(
err
);
})
},
//获取标签
...
...
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