ContextCreate.js 142 Bytes 编辑Web IDE 1 2 3 4 5 6 7 8 import { createContext } from 'react'; const CreateC = createContext({ routerConfig: {}, locationState: {}, }); export default CreateC;