摘要: <template> <div class="container"> <el-form ref="ruleForm" :model="ruleForm" :rules="rules" label-width="150px"> <el-form-item label="礼包名称" prop="name 阅读全文
posted @ 2022-07-10 15:09 Simon9527 阅读(52) 评论(0) 推荐(0) 编辑
摘要: provide \ inject vue2中 在祖先组件中 //这里的provide是一个对象,或者是一个返回对象的函数。里面呢就包含要给子孙后代的东西,也就是属性和属性值。 export default{ provide() { return { scrollToTop: this.scrollT 阅读全文
posted @ 2022-07-05 15:41 Simon9527 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 安装 Element Plus# $ npm install element-plus --save 1、按需导入# 您需要使用额外的插件来导入要使用的组件。 2、自动导入推荐# 首先你需要安装unplugin-vue-components 和 unplugin-auto-import这两款插件 n 阅读全文
posted @ 2022-07-01 16:50 Simon9527 阅读(1906) 评论(0) 推荐(0) 编辑
摘要: www.showapi.com 万维易源头 www.juhe.cn 聚合数据 实名认证 api.mlwei.com 名流互联 assistant 手机代理 阅读全文
posted @ 2022-06-30 09:49 Simon9527 阅读(298) 评论(0) 推荐(0) 编辑
摘要: // 1-如果有远程仓库的地址先删除掉 git remote rm origin // 2-在origin后面添加上你自己的仓库地址 git remote add origin https://gitee.com/ma_zipeng/EasyVue-cliDemo.git // 3-虽然暂存区已经帮 阅读全文
posted @ 2022-06-29 16:29 Simon9527 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 1. 回退到当前版本 git reset --hard HEAD git reset --hard commit_id 2. 回退到上个版本 git reset --hard HEAD^ 3. 回退到指定的某个版本(之前的提交还在) git checkout commit id 3.自己本地仓库的代 阅读全文
posted @ 2022-06-28 15:24 Simon9527 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 1.一定要在 写上value-format 而且值要为 yyyy-MM-dd注意大小写的问题 <el-date-picker v-model="formInline.date" type="datetimerange" value-format="yyyy-MM-dd HH:mm:ss" range 阅读全文
posted @ 2022-06-28 11:11 Simon9527 阅读(2024) 评论(0) 推荐(0) 编辑
摘要: 在.editorconfig文件中将一下代码复制进去 root = true [*] charset = utf-8 end_of_line = crlf indent_size = 4 indent_style = space insert_final_newline = false max_li 阅读全文
posted @ 2022-06-25 19:48 Simon9527 阅读(875) 评论(0) 推荐(1) 编辑
摘要: 在babel.config.js中添加 plugins: [ '@babel/plugin-proposal-optional-chaining', //可选链 ?. '@babel/plugin-proposal-nullish-coalescing-operator' //空值合并 ?? ] 阅读全文
posted @ 2022-06-24 10:24 Simon9527 阅读(614) 评论(0) 推荐(0) 编辑
摘要: git remote set-url --add origin git地址 git remote -v git push origin master -f 问题描述当前在我们实际代码工作过程中,同时出现两个仓库的代码整合(由于免费人数只有5人……)每天我们进行版本整合之后,需要同时push到两个仓库 阅读全文
posted @ 2022-06-23 16:55 Simon9527 阅读(277) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示