🔥 Removing code or files. 删除mybatis-plus 热加载配置

This commit is contained in:
冷冷 committed 2019-03-30 08:01:13 +08:00
1 parent 1535eec2e9
commit 98af4e3da9
14 files changed
+262 -134

No files matched your search

@@ -62,10 +62,6 @@
tableOption: tableOption
}
},
created() {
},
mounted: function () {
},
computed: {
...mapGetters(['permissions']),
permissionList() {
@@ -98,11 +94,7 @@
return delObj(row.$pk.lowerAttrName)
}).then(data => {
_this.tableData.splice(index, 1)
_this.$message({
showClose: true,
message: '删除成功',
type: 'success'
})
_this.$message.success('删除成功')
this.getList(this.page)
}).catch(function (err) {
})
@@ -117,11 +109,7 @@
handleUpdate: function (row, index, done) {
putObj(row).then(data => {
this.tableData.splice(index, 1, Object.assign({}, row))
this.$message({
showClose: true,
message: '修改成功',
type: 'success'
})
_this.$message.success('修改成功')
done()
this.getList(this.page)
})
@@ -135,11 +123,7 @@
handleSave: function (row, done) {
addObj(row).then(data => {
this.tableData.push(Object.assign({}, row))
this.$message({
showClose: true,
message: '添加成功',
type: 'success'
})
_this.$message.success('添加成功')
done()
this.getList(this.page)
})