|
@@ -140,7 +140,7 @@ export default {
|
|
|
type: 'warning'
|
|
type: 'warning'
|
|
|
}).then(() => {
|
|
}).then(() => {
|
|
|
this.buttonLoading = true
|
|
this.buttonLoading = true
|
|
|
- this.$http.delete('/core/medal', { params: [ row.id ] }).then(({ data: res }) => {
|
|
|
|
|
|
|
+ this.$http.delete('/core/medal', { 'data': [row.id] }).then(({ data: res }) => {
|
|
|
if (res.code !== 0) return this.$message.error(res.msg)
|
|
if (res.code !== 0) return this.$message.error(res.msg)
|
|
|
this.$message.success('删除成功')
|
|
this.$message.success('删除成功')
|
|
|
this.getDataList()
|
|
this.getDataList()
|