ES5 let arr = [1, 2, 3, 2, 4]for循环 for (let i = 0; i < arr.length; i++) { console.log(arr[i]) }forEach() 没有返回值,只是针对每个元素调用func arr.forEach(function(elem,...
element-ui 打包项目执行 : ![npm run build:prod]修改打包后静态资源文件路径在 vue.config.js 中
Error running pod install .Error launching application on iPhone 12 Pro Max.首先检查 pod install 可不可以运行,我这里报错了然后 运行 sudo gem install ffi 成功运行继续 pod install 还是报错 ,先确认是否安装了 cocoapods,如果没有安装需要先安装,如果安装了, 在...
应用场景:开发过程中经常用到从master分支copy一个开发分支步骤:1.切换到被copy的分支(master),并且从远端拉取最新版本$git checkout master$git pull2.从当前分支拉copy开发分支$git checkout -b devSwitched to a new branch 'dev'3.把新建的分支push到远端$git push origin d...
1 继续关系:BoxDecoration:实现边框、圆角、阴影、形状、渐变、背景图像ShapeDecoration:实现四个边分别指定颜色和宽度、底部线、矩形边色、圆形边色、体育场(竖向椭圆)、 角形(八边角)边色FlutterLogoDecoration:实现Flutter图片UnderlineTabindicator:下划线2 介绍一个背景装饰对象,相当于Android中的shape.x...