diff --git a/backend/src/main/resources/views/platform/activity/wonderfulMoment/index.html b/backend/src/main/resources/views/platform/activity/wonderfulMoment/index.html
index ad86197..75e09bc 100644
--- a/backend/src/main/resources/views/platform/activity/wonderfulMoment/index.html
+++ b/backend/src/main/resources/views/platform/activity/wonderfulMoment/index.html
@@ -93,6 +93,25 @@ layout("/layouts/platform_1.html"){
}
},
methods: {
+ onTableRowDelete(id) {
+ if (!id) {
+ return
+ }
+ this.$confirm('确定删除该数据吗?', '提示', {
+ type: 'warning',
+ confirmButtonText: '确定',
+ cancelButtonText: '取消'
+ }).then(() => {
+ $.post(this.tableDeleteUrl, {id}).then((res) => {
+ if (res.code === 0) {
+ this.$message.success("删除成功")
+ this.pageData()
+ } else {
+ this.$message.error(res.msg)
+ }
+ })
+ }).catch(() => {})
+ },
publishedChange(val, row) {
const params = JSON.parse(JSON.stringify(row))
this.$set(params, 'published', val)
diff --git a/frontend/src/pages/index/index.vue b/frontend/src/pages/index/index.vue
index ed5addf..41abb53 100644
--- a/frontend/src/pages/index/index.vue
+++ b/frontend/src/pages/index/index.vue
@@ -48,6 +48,7 @@
@@ -68,6 +69,10 @@
+
@@ -76,7 +81,7 @@
精彩瞬间
-
+
+