mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-09 04:49:02 +08:00
♻️ Refactoring code. avue searchchange done
This commit is contained in:
1 parent
90c13a4082
commit
fbca4f45de
1 file changed
+3
-3
@@ -81,7 +81,6 @@
|
||||
})
|
||||
},
|
||||
rowDel: function (row, index) {
|
||||
var _this = this
|
||||
this.$confirm('是否确认删除ID为' + row.$pk.lowerAttrName, '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
@@ -89,7 +88,7 @@
|
||||
}).then(function () {
|
||||
return delObj(row.$pk.lowerAttrName)
|
||||
}).then(data => {
|
||||
_this.$message.success('删除成功')
|
||||
this.$message.success('删除成功')
|
||||
this.getList(this.page)
|
||||
})
|
||||
},
|
||||
@@ -117,9 +116,10 @@
|
||||
currentChange(current){
|
||||
this.page.currentPage = current
|
||||
},
|
||||
searchChange(form) {
|
||||
searchChange(form, done) {
|
||||
this.searchForm = form
|
||||
this.getList(this.page, form)
|
||||
done()
|
||||
},
|
||||
refreshChange() {
|
||||
this.getList(this.page)
|
||||
|
||||
Reference in new issue
Block a user