htc 14 годин тому
батько
коміт
82bf1cd06b
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      src/views/modules/medal.vue

+ 1 - 1
src/views/modules/medal.vue

@@ -140,7 +140,7 @@ export default {
         type: 'warning'
       }).then(() => {
         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)
           this.$message.success('删除成功')
           this.getDataList()