diff --git a/src/views/mp/components/wx-msg/main.vue b/src/views/mp/components/wx-msg/main.vue
index 333541076..5223113f1 100644
--- a/src/views/mp/components/wx-msg/main.vue
+++ b/src/views/mp/components/wx-msg/main.vue
@@ -121,7 +121,7 @@ const loadMore = () => {
const getPage = async (page: any, params: any = null) => {
loading.value = true
- let dataTemp = await getMessagePage(
+ const dataTemp = await getMessagePage(
Object.assign(
{
pageNo: page.pageNo,
diff --git a/src/views/mp/components/wx-news/main.vue b/src/views/mp/components/wx-news/main.vue
index 53b99bb18..033adcab9 100644
--- a/src/views/mp/components/wx-news/main.vue
+++ b/src/views/mp/components/wx-news/main.vue
@@ -13,7 +13,7 @@
@@ -29,7 +29,7 @@
{{ article.title }}
-
![]()
+
diff --git a/src/views/mp/components/wx-reply/main.vue b/src/views/mp/components/wx-reply/main.vue
index 2c9d5f21f..89ffe47c0 100644
--- a/src/views/mp/components/wx-reply/main.vue
+++ b/src/views/mp/components/wx-reply/main.vue
@@ -106,7 +106,7 @@ watch(
if (temp) {
reply.value = temp
} else {
- let newData = createEmptyReply(reply)
+ const newData = createEmptyReply(reply)
newData.type = newTab
reply.value = newData
}
diff --git a/src/views/mp/draft/components/DraftTable.vue b/src/views/mp/draft/components/DraftTable.vue
index bb512d887..b0f4fa0b7 100644
--- a/src/views/mp/draft/components/DraftTable.vue
+++ b/src/views/mp/draft/components/DraftTable.vue
@@ -1,6 +1,6 @@
-
+
diff --git a/src/views/mp/draft/components/NewsForm.vue b/src/views/mp/draft/components/NewsForm.vue
index afdcc4ba8..9711334b8 100644
--- a/src/views/mp/draft/components/NewsForm.vue
+++ b/src/views/mp/draft/components/NewsForm.vue
@@ -186,7 +186,9 @@ const removeNews = async (index: number) => {
if (activeNewsIndex.value === index) {
activeNewsIndex.value = 0
}
- } catch {}
+ } catch {
+ // empty
+ }
}
// 添加一个图文
diff --git a/src/views/mp/draft/index.vue b/src/views/mp/draft/index.vue
index db24596aa..5209d223a 100644
--- a/src/views/mp/draft/index.vue
+++ b/src/views/mp/draft/index.vue
@@ -110,7 +110,9 @@ const onBeforeDialogClose = async (onDone: () => {}) => {
try {
await message.confirm('修改内容可能还未保存,确定关闭吗?')
onDone()
- } catch {}
+ } catch {
+ //
+ }
}
// ======================== 列表查询 ========================
@@ -179,7 +181,9 @@ const onPublish = async (item: Article) => {
await MpFreePublishApi.submitFreePublish(accountId.value, mediaId)
message.notifySuccess('发布成功')
await getList()
- } catch {}
+ } catch {
+ //
+ }
}
/** 删除按钮操作 */
@@ -190,7 +194,9 @@ const onDelete = async (item: Article) => {
await MpDraftApi.deleteDraft(accountId.value, mediaId)
message.notifySuccess('删除成功')
await getList()
- } catch {}
+ } catch {
+ //
+ }
}
diff --git a/src/views/mp/freePublish/index.vue b/src/views/mp/freePublish/index.vue
index 2ed8ae77e..c5639ec3e 100644
--- a/src/views/mp/freePublish/index.vue
+++ b/src/views/mp/freePublish/index.vue
@@ -97,7 +97,9 @@ const handleDelete = async (item: any) => {
message.success(t('common.delSuccess'))
// 刷新列表
await getList()
- } catch {}
+ } catch {
+ //
+ }
}