摘要: 1.第一步需要在源码识图h5模块下添加 "devServer" : { "port" : 8080, //端口号 "disableHostCheck" : true, "proxy" : { "/api" : { "target" : "http://zbphp.zhongbenzx.com", / 阅读全文
posted @ 2022-03-19 15:01 我有头盔 阅读(608) 评论(0) 推荐(0) 编辑
摘要: :style="{marginRight:(index +1 )%3 ==0?'0rpx':'20rpx'}" 我在做项目中会经常使用margin,每行都是三个或者几个,又想让最后一个不设置margin,使用flex布局的话,会有问题, 这种方法可以判断循环的第三个设置单独的属性 阅读全文
posted @ 2022-03-19 14:21 我有头盔 阅读(31) 评论(0) 推荐(0) 编辑