Browse Source

add page search placeholder

visuddhinanda 2 years ago
parent
commit
e1d4a1c10b
1 changed files with 5 additions and 1 deletions
  1. 5 1
      dashboard/src/components/fts/FullSearchInput.tsx

+ 5 - 1
dashboard/src/components/fts/FullSearchInput.tsx

@@ -156,7 +156,11 @@ const FullSearchInputWidget = ({
         <Input.Search
           size={size}
           width={width}
-          placeholder="search here"
+          placeholder={
+            view === "page"
+              ? "输入页码数字,或者卷号.页码如 1.1"
+              : "search here"
+          }
           onSearch={(value: string) => {
             console.log("on search", value, tags);
             if (typeof onSearch !== "undefined") {