摘要: 2 页面接口请求方式说明: 示例: import { newLogin } from '@/api/index' newLogin(loginForm1) .then(res => { //相关逻辑 }) .catch(err => { //相关逻辑 }) import { unitReportTe 阅读全文
posted @ 2022-03-10 16:55 波吉国王 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 1 实现路由开发阶段不懒加载, 生产阶段懒加载 const _import = require('./_import_' + process.env.NODE_ENV) component: _import('project/portal/portalIndex') 作用: 这个应该是判断打包环境决 阅读全文
posted @ 2022-03-10 14:27 波吉国王 阅读(245) 评论(0) 推荐(0) 编辑