clear
This commit is contained in:
@@ -106,6 +106,7 @@
|
||||
let res = await againLssued(this.pkObj)
|
||||
this.disabled1 = false
|
||||
this.pkId = ''
|
||||
this.toClear()
|
||||
this._taskTaskQuery()
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
@@ -126,6 +127,7 @@
|
||||
let res = await taskConfirm(this.pkObj)
|
||||
this.disabled2 = false
|
||||
this.pkId = ''
|
||||
this.toClear()
|
||||
this._taskTaskQuery()
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
@@ -134,6 +136,14 @@
|
||||
} catch (e) {
|
||||
this.disabled2 = false
|
||||
}
|
||||
},
|
||||
toClear () {
|
||||
this.val1 = ''
|
||||
this.dataList = []
|
||||
this.disabled1 = false
|
||||
this.disabled2 = false
|
||||
this.pkId = ''
|
||||
this.pkObj = {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user