按钮防重复点击
This commit is contained in:
@ -37,15 +37,15 @@ export default {
|
||||
methods:{
|
||||
async getList(){
|
||||
let result=await getToDoList();
|
||||
if(result.code === 200){
|
||||
// if(result.code === 200){
|
||||
this.todolist=result.data;
|
||||
if(this.todolist.length === 0){
|
||||
if(this.todolist?.length === 0){
|
||||
this.show=true
|
||||
}else {
|
||||
this.show=false
|
||||
}
|
||||
console.log("this.todolist",this.todolist.length)
|
||||
}
|
||||
// console.log("this.todolist",this.todolist?.length)
|
||||
// }
|
||||
},
|
||||
async noPass(item){
|
||||
let result=await toDoAudit({
|
||||
|
Reference in New Issue
Block a user