Przeglądaj źródła

问题修复,del改为delete

htc 22 godzin temu
rodzic
commit
0f1443d561
1 zmienionych plików z 1 dodań i 1 usunięć
  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.del('/core/medal', { params: [ row.id ] }).then(({ data: res }) => {
+        this.$http.delete('/core/medal', { params: [ row.id ] }).then(({ data: res }) => {
           if (res.code !== 0) return this.$message.error(res.msg)
           this.$message.success('删除成功')
           this.getDataList()