Browse Source

💊 修复删除内容错误问题

快乐的梦鱼 1 month ago
parent
commit
3422434e92
2 changed files with 1 additions and 3 deletions
  1. 1 1
      src/api/inhert/VillageInfoApi.ts
  2. 0 2
      src/pages/home/village/introd/card.vue

+ 1 - 1
src/api/inhert/VillageInfoApi.ts

@@ -342,7 +342,7 @@ export class VillageInfoApi extends AppServerRequestModule<DataModel> {
   async deleteInfo(id: number) {
     return (await this.post(`/village/collect/del`, '删除信息详情', {
       id,
-    }, undefined, CommonInfoModel)).data as CommonInfoModel
+    }))
   }
   async updateInfo<T extends DataModel>(
     collectModuleId: number|undefined,

+ 0 - 2
src/pages/home/village/introd/card.vue

@@ -569,8 +569,6 @@ async function checkIsStaff(needTopic?: boolean) {
       alert({
         title: '提示',
         content: '您暂无管理贴图权限,无法管理贴图哦。可联系客服询问原因。',
-        icon: 'none',
-        duration: 3000
       });
     } else {
       const goUpgrade = await confirm({