zs %!s(int64=2) %!d(string=hai) anos
pai
achega
abd19d0b4b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pagesMatch/matchAdmin/project/list.js

+ 1 - 1
pagesMatch/matchAdmin/project/list.js

@@ -30,7 +30,7 @@ Page({
             content: '是否确认删除该条数据?',
             async success(res) {
                 if (res.confirm) {
-                    const arr = await app.$delete(`/matchProject/${item._id}`, 'race');
+                    const arr = await app.$delete(`/matchProject/${item._id}`, {}, 'race');
                     if (arr.errcode == '0') {
                         wx.showToast({ title: `删除信息成功`, icon: 'success', duration: 2000 })
                         that.setData({ skip: 0, page: 0, list: [] })