From 0e438931e7f7f2746f9c80ee288aa27643c95e24 Mon Sep 17 00:00:00 2001
From: zx <604444282@qq.com>
Date: Mon, 30 May 2022 16:05:32 +0800
Subject: [PATCH] zx
---
src/views/StarwayInfo/_actRelease/index.vue | 2 +-
src/views/StarwayInfo/config.js | 2 +-
src/views/StarwayInfo/index.vue | 5 ++++-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/views/StarwayInfo/_actRelease/index.vue b/src/views/StarwayInfo/_actRelease/index.vue
index d18e9a5..d38b656 100644
--- a/src/views/StarwayInfo/_actRelease/index.vue
+++ b/src/views/StarwayInfo/_actRelease/index.vue
@@ -9,7 +9,7 @@
视频
图片
- 文章
+ 文字
diff --git a/src/views/StarwayInfo/config.js b/src/views/StarwayInfo/config.js
index 67aa638..98a9b1f 100644
--- a/src/views/StarwayInfo/config.js
+++ b/src/views/StarwayInfo/config.js
@@ -2,7 +2,7 @@ export function statusFormatter(row) {
switch(row.type) {
case 1: return '视频';
case 2: return '图片';
- case 3: return '图文';
+ case 3: return '文字';
default: return '';
}
};
\ No newline at end of file
diff --git a/src/views/StarwayInfo/index.vue b/src/views/StarwayInfo/index.vue
index d3246a4..b474190 100644
--- a/src/views/StarwayInfo/index.vue
+++ b/src/views/StarwayInfo/index.vue
@@ -97,7 +97,10 @@ export default defineComponent({
'删除', //标题
{type: 'warning'}
).then(() => {
- this.$message.success('删除成功')
+ this.proxy.$post("/topicActivity/del", {id: id}).then(res => {
+ this.getData()
+ this.$message.success(res.data)
+ }).catch(() => {});
}).catch(() => {})
}
}