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 ? {