From a925a64cd7ab1935717fceb0fba5eb67f0bbf75c Mon Sep 17 00:00:00 2001 From: zhouwx <1175765986@qq.com> Date: 星期二, 12 十一月 2024 13:35:14 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/views/Admin/release.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/Admin/release.vue b/src/views/Admin/release.vue index e01b309..5443cc8 100644 --- a/src/views/Admin/release.vue +++ b/src/views/Admin/release.vue @@ -83,6 +83,7 @@ import axios from "axios"; import Cookies from "js-cookie"; import {getUserInfo} from "@/util/storage"; +import {debounce} from "@/util/debounce"; const columns = [{ title: '序号', dataIndex: 'index', @@ -200,7 +201,7 @@ t.getData() }, methods: { - async getData(){ + getData: debounce(async function(){ const t = this const res = await getPublishRecord(this.search) if(res.data.code == 100){ @@ -209,7 +210,7 @@ }else{ this.$message.error(res.data.msg) } - }, + },1000), openList(id){ const t = this -- Gitblit v1.9.2