12345678910111213141516171819202122 |
- import React from 'react';
- import { LIMIT } from "@components/comment/config/constant";
-
- // const DEFAULT_TYPE = 1;
- // const DEFAULT_BUSSINESSID = 'test';
- // const DEFAULT_BUSSINESS_USER_ID = 4;
- // const DEFAULT_PAGE = 1;
- // const DEFAULT_LIMIT = LIMIT;
-
- export const DefaultValue = {
- type: 3,
- bussiness_id: '5ea8320dedd68200018e733d',
- bussiness_user_id: 4,
- page: 1,
- limit: LIMIT,
- locale: 'zh',
- currentUser: null,
- }
-
- // type=3&business_id=5ea8320dedd68200018e733d&is_speak=0&page=1&limit=10
-
- export const CommentContext = React.createContext(DefaultValue)
|