Explorar o código

sent-can-read 参数 channels -> excludes

visuddhinanda %!s(int64=2) %!d(string=hai) anos
pai
achega
24f71d4b53
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      dashboard/src/components/template/SentEdit/SentCanRead.tsx

+ 1 - 1
dashboard/src/components/template/SentEdit/SentCanRead.tsx

@@ -42,7 +42,7 @@ const SentCanReadWidget = ({
   const load = () => {
     const sentId = `${book}-${para}-${wordStart}-${wordEnd}`;
     let url = `/v2/sentence?view=sent-can-read&sentence=${sentId}&type=${type}&mode=edit&html=true`;
-    url += channelsId ? `&channels=${channelsId.join()}` : "";
+    url += channelsId ? `&excludes=${channelsId.join()}` : "";
     console.log("url", url);
     get<ISentenceListResponse>(url)
       .then((json) => {