shenwu 8 달 전
부모
커밋
07b97e8851
2개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      src/pages/MiniApp/BookManage/Long/index.tsx
  2. 1 0
      src/pages/MiniApp/BookManage/Short/index.tsx

+ 3 - 1
src/pages/MiniApp/BookManage/Long/index.tsx

@@ -64,7 +64,9 @@ const Page: React.FC = (props: Props) => {
     let publicData = useMemo(() => {
         let pramas = {
             appId: initialState?.selectApp?.id || "",
-            appType: initialState?.selectApp?.appType || ""
+            distributorId: initialState?.currentUser?.distributorId,
+            appType: initialState?.selectApp?.appType || "",
+
         }
         return bookId ? {
             appId: initialState?.selectApp?.id || "",

+ 1 - 0
src/pages/MiniApp/BookManage/Short/index.tsx

@@ -64,6 +64,7 @@ const Page: React.FC = (props: Props) => {
     let publicData = useMemo(() => {
         let pramas = {
             appId: initialState?.selectApp?.id || "",
+            distributorId: initialState?.currentUser?.distributorId,
             appType: initialState?.selectApp?.appType || ""
         }
         return bookId ? {