From 2069428997c1f4d0f27a697130ce16191ecfd5ca Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Mon, 25 Sep 2023 09:26:55 +0800
Subject: [PATCH] 添加查询参数

---
 src/components/MediaPanel.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/components/MediaPanel.vue b/src/components/MediaPanel.vue
index 33a7c55..e3a1f3d 100644
--- a/src/components/MediaPanel.vue
+++ b/src/components/MediaPanel.vue
@@ -176,10 +176,12 @@
   getFiles()
 }
 
-function getFiles () {
-  getMediaFiles(workspaceId, body).then(res => {
-    console.log(res, '-------------------')
+function inputChange (searchValue: string) {
+  getFiles()
+}
 
+function getFiles () {
+  getMediaFiles(workspaceId, body, searchQuery).then(res => {
     mediaData.data = res.data.list
     paginationProp.total = res.data.pagination.total
     paginationProp.current = res.data.pagination.page

--
Gitblit v1.9.3