Install node_modules
:
npm install --registry=https://registry.npm.taobao.org
or
yarn
npm start
npm run build
npm run lint
也可以使用脚本自动修复某些 lint 错误:
npm run lint:fix
npm test
解决,原因:有部分模块的locales没有删除感觉其他语言配置
npm run start:no-mock
mock: {
exclude: ['mock/user.ts']
},
这么做没什么卵用
来自umi.js官网
// config/routes.ts
export default [
{ exact: true, path: '/', component: 'index' },
];
// config/config.ts
import { defineConfig } from 'umi';
import routes from './routes';
export default defineConfig({
routes: routes,
});
devScripts.js:5836 Warning: Received `false` for a non-boolean attribute `selectable`.
If you want to write it to the DOM, pass a string instead: selectable="false" or selectable={value.toString()}.
If you used to conditionally omit it with selectable={condition && value}, pass selectable={condition ? value : undefined} instead.
devScripts.js:5836 Warning: React does not recognize the `expandIcon` prop on a DOM element.
If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `expandicon` instead.
If you accidentally passed it from a parent component, remove it from the DOM element.
部门、角色、菜单、岗位、用户管理 (完成20210403)
数据字典管理 (完成20210408)
数据权限的开发、日志管理(完成202104010)、定时任务管理
登录、登出(前端完成,使用mock,未对接后端)(完成)
增加验证码(后端放在Redis)(完成20210404)
后端动态加载菜单、按钮级别权限(前端完成,使用mock,未对接后端)(完成)
用户中心 (完成20210407)
用户自己重置密码
首页
导航栏消息报错问题
生成代码
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Комментарии ( 0 )