3 Star 0 Fork 0

Floyd/SmartLease-Front

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.umirc.ts 3.48 KB
一键复制 编辑 原始数据 按行查看 历史
wyf32268886 提交于 2021-07-23 15:35 . fix: 完善售后界面及跳转
/*
* @Description:
* @version: 1.0
* @Author: 赵卓轩
* @Date: 2021-07-10 15:18:12
* @LastEditors: 赵卓轩
* @LastEditTime: 2021-07-22 16:43:35
*/
import { IConfig } from 'umi-types';
// ref: https://umijs.org/config/
const config: IConfig = {
dva: {},
antd: {},
mfsu: {},
// 修改icon
links: [
// href的图片你可以放在public里面,直接./图片名.png 就可以了,也可以是cdn链接
{ rel: 'icon', href: 'https://img0.baidu.com/it/u=842442191,584942941&fm=26&fmt=auto&gp=0.jpg' },
],
// 修改title
title:'租享宝—智能化共享租赁平台',
routes: [
{
path: '/',
component: '../layouts/BasicLayout/index',
routes: [
{ path: '/', component: '../pages/index' },
{
path: '/itemlist',
component: '../pages/ItemList',
},
{
path: '/search',
component: '../pages/SearchResult',
},
{
path: '/login',
component: '../pages/Login',
},
{
path: '/register',
component: '../pages/Register',
},
{
path: '/detail',
component: '../pages/ProductDetail',
},
{
path: '/payment',
component: '../pages/Payment',
},
{
path: '/createorder',
component: '../pages/CreateOrder',
},
{
path: '/orderdetail',
component: '../pages/OrderDetail',
},
{
path: '/orderdetail',
component: '../pages/OrderDetail',
},
{
path: '/storedetail',
component: '../pages/StoreDetail',
},
{
path: '/user',
routes: [
{
path: '/user/history',
component: '../pages/History',
},
{
path: '/user',
component: '../pages/User',
},
{
path: '/user/orderlist',
component: '../pages/OrderList',
},
{
path: '/user/shoppingcar',
component: '../pages/ShoppingCar',
},
{
path: '/user/address',
component: '../pages/Address',
},
{
path: '/user/favorite',
component: '../pages/Favorite',
},
{
path: '/user/refund',
component: '../pages/Refund',
},
{
path: '/user/customerservice',
component: '../pages/CustomerService',
},
{
path: '/user/serviceapply',
component: '../pages/ServiceApply',
},
{
path: '/user/servicerecord',
component: '../pages/ServiceRecord',
},
{
path: '/user/transport',
component: '../pages/Transport',
},
{
path: '/user/transportdetail',
component: '../pages/TransportDetail',
},
],
},
],
},
],
// ref: https://umijs.org/plugin/umi-plugin-react.htm
proxy: {
'/api2': {
target: 'http://47.110.156.20:8085/',
changeOrigin: true,
pathRewrite: { '^/api2': '' },
},
'/api3': {
target: 'http://47.110.156.20:8083/',
changeOrigin: true,
pathRewrite: { '^/api3': '' },
},
},
};
export default config;
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/floydzzx/smart-lease-front.git
git@gitee.com:floydzzx/smart-lease-front.git
floydzzx
smart-lease-front
SmartLease-Front
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385