axios 请求方法,get,post,put,delete等
axios 跨域,withCredentials: true,需要后端支持
css sass,对应嵌套不超过三层,滚动条样式设置,文本两行超出...redux
mui:集成react的router和redux
ant-design-pro:基于react和ant-pc的中后台解决方案
3.2.3适配方案
左侧固定宽度,右侧自适应
右侧导航分别配置滚动条...decorator 中提供的操作符即可
vue-property-decorator暴露的API
API 作用
@Component 注册组件
get 类似vue的computed
@Prop,@Emit...对象封装到单个对象中,每个请求都将创建一个 Context,通过ctx访问暴露的方法
ctx方法 request:请求主体;response:响应主体;ctx.cookies.get:获取cookie...;每个schema会映射到mongodb中的一个collection,它不具备操作数据库的能力
model schema生成的模型,可以对数据库的操作
model的操作database方法
API 方法