posted @ 2020-06-28 11:16 Hhuizi 阅读(831) 评论(0) 推荐(0) 编辑
摘要:
git remote -v // 查看当前的远程仓库 git remote set-url origin https://where you want to put your repository to.git(例:https://git.huatonghh.com/11/micro-store-f 阅读全文
摘要:
需要为 URL 配置 publicPath 前缀:process.env.BASE_URL this.currentSrc = `${process.env.BASE_URL}workflow/modeler.html?modelId=${this.$route.query.modelId}&con 阅读全文
posted @ 2020-05-19 18:30 Hhuizi 阅读(9216) 评论(0) 推荐(0) 编辑
摘要:
1.保存并退出: (1)按 Esc 键退出编辑模式,英文模式下输入 :wq ,然后回车(write and quit)。 (2)按 Esc 键退出编辑模式,大写英文模式下输入 ZZ ,然后回车。 2.不保存退出: 按 Esc 键退出编辑模式,英文模式下输入 :q! ,然后回车。 按 Esc 键退出编 阅读全文
posted @ 2020-05-12 10:55 Hhuizi 阅读(10286) 评论(0) 推荐(0) 编辑
摘要:
<el-table-column label="" min-width="120" prop="estAmount"> <template slot="header"> <span>预计保额(元)</span> <el-tooltip class="item" effect="dark" conte 阅读全文
posted @ 2020-03-20 17:08 Hhuizi 阅读(999) 评论(0) 推荐(1) 编辑
摘要:
function jsonToArray(nodes) { let r = [] if (Array.isArray(nodes)) { for (let i = 0, l = nodes.length; i 0) { // 若存在children则递归调用,把数据拼接到新数组中,并且删除该children r = r.concat(jsonTo... 阅读全文
posted @ 2019-09-29 18:35 Hhuizi 阅读(535) 评论(0) 推荐(0) 编辑
摘要:
1.选中默认节点 :default-checked-keys="authorities" 2.改变传入的数组 3.使用树结构方法 阅读全文
posted @ 2019-09-18 10:35 Hhuizi 阅读(1180) 评论(0) 推荐(0) 编辑
摘要:
/** * 下载文件调用 * @param 接口返回数据 文件名 */ export function downloadFile(res, fileName) { if (!res) { return } if (window.navigator.msSaveBlob) { // IE以及IE内核的 阅读全文
posted @ 2019-09-12 14:56 Hhuizi 阅读(23235) 评论(2) 推荐(0) 编辑
摘要:
1. @selection-change="handleSelectionChange" 2.在data中增加数组: multipleSelection: [], 3. handleSelectionChange(val) { this.multipleSelection = val; if (th 阅读全文
posted @ 2019-08-20 15:49 Hhuizi 阅读(1166) 评论(0) 推荐(0) 编辑