diff --git a/src/views/t-news.vue b/src/views/t-news.vue
index 9d792ff5..73d45a16 100644
--- a/src/views/t-news.vue
+++ b/src/views/t-news.vue
@@ -4,6 +4,16 @@
公告
活动
咨讯
+
@@ -14,17 +24,6 @@
mdi-view-list
-
@@ -454,7 +453,9 @@ async function searchPost(): Promise {
}
if (!isNaN(Number(search.value))) {
await toPost(search.value);
- await toJson(search.value);
+ if (appStore.devMode) {
+ await toJson(search.value);
+ }
} else {
snackbarText.value = "请输入搜索内容";
snackbarColor.value = "error";