Ver Fonte

:bug: 切换协作时清空studio过滤器

visuddhinanda há 3 anos atrás
pai
commit
b826e66a8a
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      dashboard/src/pages/studio/channel/list.tsx

+ 1 - 0
dashboard/src/pages/studio/channel/list.tsx

@@ -483,6 +483,7 @@ const Widget = () => {
             onChange(key) {
             onChange(key) {
               console.log("show course", key);
               console.log("show course", key);
               setActiveKey(key);
               setActiveKey(key);
+              setCollaborator(undefined);
               ref.current?.reload();
               ref.current?.reload();
             },
             },
           },
           },