htc il y a 19 heures
Parent
commit
82bf1cd06b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/views/modules/medal.vue

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

@@ -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()