We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
代码如下: `// -> 初始化 const app = dva({ history: createHistory() });
hot.patch(app);
// -> 插件配置 app.use(createLoading()); app.use({ onError: config.exception.global });
// -> 动态加载过渡组件 dynamic.setDefaultLoadingComponent(() => config.router.loading);
// -> 注册全局模型 app.model(require("@/models/global").default);
app.router(require('./app').default);
render(createElement(app.start()), hot.setContainer('#root'));`
更改文件会刷新浏览器
The text was updated successfully, but these errors were encountered:
No branches or pull requests
代码如下:
`// -> 初始化
const app = dva({
history: createHistory()
});
hot.patch(app);
// -> 插件配置
app.use(createLoading());
app.use({ onError: config.exception.global });
// -> 动态加载过渡组件
dynamic.setDefaultLoadingComponent(() => config.router.loading);
// -> 注册全局模型
app.model(require("@/models/global").default);
app.router(require('./app').default);
render(createElement(app.start()), hot.setContainer('#root'));`
更改文件会刷新浏览器
The text was updated successfully, but these errors were encountered: