diff --git a/src/i18n/lang/zh_CN/layout.js b/src/i18n/lang/zh_CN/layout.js
index 7fb8fa2..6ff21ee 100644
--- a/src/i18n/lang/zh_CN/layout.js
+++ b/src/i18n/lang/zh_CN/layout.js
@@ -10,7 +10,7 @@ export default {
website: '官网',
document: '文档',
authorization: '授权',
- copyright: 'Copyright © 2022 厦门狸车科技有限公司'
+ copyright: 'Copyright © 2022 狸车(厦门)网络科技有限公司'
},
logout: {
title: '提示',
diff --git a/src/views/sylive/activity/components/activity-edit.vue b/src/views/sylive/activity/components/activity-edit.vue
index 09693eb..dea1b9e 100644
--- a/src/views/sylive/activity/components/activity-edit.vue
+++ b/src/views/sylive/activity/components/activity-edit.vue
@@ -74,12 +74,27 @@
/>
-
+
+
+
+
+ 新增分享描述
+
@@ -114,7 +129,7 @@
channelId: '',
dateRange: '',
introduction: '',
- shareTitle: '',
+ shareTitle: [''],
shareImg: [],
bgImg: []
};
@@ -180,12 +195,21 @@
}
},
methods: {
+ /* 添加分享描述 */
+ addShareTitle() {
+ this.form.shareTitle.push('');
+ },
/* 保存编辑 */
save() {
this.$refs.form.validate((valid) => {
if (!valid) {
return false;
}
+ this.form.shareTitle.forEach((item, i) => {
+ if (item == '') {
+ this.form.shareTitle.splice(i, 1);
+ }
+ });
this.loading = true;
const data = {
...this.form
@@ -287,6 +311,9 @@
...this.data
});
this.isUpdate = true;
+ if (this.form.shareTitle.length == 0) {
+ this.form.shareTitle.push('');
+ }
} else {
this.form.organizationId = this.organizationId;
this.form.bgImg = [];