06 2022 档案
摘要:www.showapi.com 万维易源头 www.juhe.cn 聚合数据 实名认证 api.mlwei.com 名流互联 assistant 手机代理
阅读全文
摘要:// 1-如果有远程仓库的地址先删除掉 git remote rm origin // 2-在origin后面添加上你自己的仓库地址 git remote add origin https://gitee.com/ma_zipeng/EasyVue-cliDemo.git // 3-虽然暂存区已经帮
阅读全文
摘要:1. 回退到当前版本 git reset --hard HEAD git reset --hard commit_id 2. 回退到上个版本 git reset --hard HEAD^ 3. 回退到指定的某个版本(之前的提交还在) git checkout commit id 3.自己本地仓库的代
阅读全文
摘要:1.一定要在 写上value-format 而且值要为 yyyy-MM-dd注意大小写的问题 <el-date-picker v-model="formInline.date" type="datetimerange" value-format="yyyy-MM-dd HH:mm:ss" range
阅读全文
摘要:在.editorconfig文件中将一下代码复制进去 root = true [*] charset = utf-8 end_of_line = crlf indent_size = 4 indent_style = space insert_final_newline = false max_li
阅读全文
摘要:在babel.config.js中添加 plugins: [ '@babel/plugin-proposal-optional-chaining', //可选链 ?. '@babel/plugin-proposal-nullish-coalescing-operator' //空值合并 ?? ]
阅读全文
摘要:git remote set-url --add origin git地址 git remote -v git push origin master -f 问题描述当前在我们实际代码工作过程中,同时出现两个仓库的代码整合(由于免费人数只有5人……)每天我们进行版本整合之后,需要同时push到两个仓库
阅读全文
摘要:所有的依赖都设置淘宝镜像 npm config set registry https://registry.npm.taobao.org/ 只对node-sass设置拉取地址 npm install node-sass --sass-binary-site=https://npm.taobao.or
阅读全文
摘要:上传图片类型的 单个图片 html //data上传时附带的额外参数 可在上传文件之前的钩子函数before-upload 中设置,上传成功可在on-success中写相应的逻辑 <el-upload class="avatar-uploader" action="https://up-z0.qin
阅读全文
摘要:如何在vue中缓存页面和组件,在后退页面是继续保持之前的状态 keep-alive keep-alive 可以让其内部的组件或者页面在被切换走时不销毁,缓存该组件的状态。通过在路由中配置meta中的配置判断是否缓存 keepAlive包裹的页面或者组件 <keep-alive v-if="$rout
阅读全文
摘要:Prop Prop,用于在子组件中接收父组件传递的数据。 父组件传值 在父组件中,渲染子组件时,可以通过自定义属性来向子组件传递数据: <Child name="zhangsan" age="20"></Child> 注意:除了传递普通字符串以外,其他任意数据类型,包括动态数据,都需要通过 v-bi
阅读全文

浙公网安备 33010602011771号