From 457f9c817adef8b003ee6379f493798bae5cbb69 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: Mon, 19 May 2025 09:31:19 +0800
Subject: [PATCH] 修改
---
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