上一页 1 2 3 4 5 6 ··· 12 下一页
  2022年12月14日
摘要: python3 python -m http.server 8080 python2 python -m SimpleHTTPServer 8080 阅读全文
posted @ 2022-12-14 10:45 occc 阅读(96) 评论(0) 推荐(0) 编辑
  2022年12月7日
摘要: 版本 "monaco-editor": "^0.30.1", "monaco-editor-webpack-plugin": "^6.0.0", 使用代码 <template> <div class="container1"> <div ref="codeContainer" style="heig 阅读全文
posted @ 2022-12-07 11:16 occc 阅读(281) 评论(0) 推荐(0) 编辑
  2022年11月29日
摘要: 原因:el-table组件会根据传入的 max-height 计算表格内容部分 和 fixed部分的最大高度,以此来生成滚动条和产生滚动效果,当传入的 max-height 为一个计算的高度时无法自动地完成计算 解决办法:手动地再对 表格内容部分 和 fixed部分 最大高度进行赋值 代码: // 阅读全文
posted @ 2022-11-29 14:17 occc 阅读(143) 评论(0) 推荐(0) 编辑
摘要: getDiffArr(oldData, newData) { //去重 let arr1 = new Set(oldData); //原数组 let arr2 = new Set(newData); //新数组 let List = []; //for of:循环数组的值 for (let k of 阅读全文
posted @ 2022-11-29 10:47 occc 阅读(22) 评论(0) 推荐(0) 编辑
  2022年11月4日
摘要: // 上传文件调用 fileChange(fileData) { let raw = file.raw let fileParamList let reader = new FileReader() reader.readAsText(fileData); let _this = this read 阅读全文
posted @ 2022-11-04 16:47 occc 阅读(111) 评论(0) 推荐(0) 编辑
  2022年11月2日
摘要: let tableId = 1; const data = [ [ { tableId:2, tableName:'我是祖先表AAAAAAAAAA', },{ tableId:3, tableName:'我是祖先表B', } ], [ { tableId:4, parentId:[2], table 阅读全文
posted @ 2022-11-02 17:25 occc 阅读(660) 评论(0) 推荐(0) 编辑
摘要: import axios from 'axios' import { Message } from 'element-ui' import { saveAs } from 'file-saver' import { getToken } from '@/utils/auth' const baseU 阅读全文
posted @ 2022-11-02 09:36 occc 阅读(70) 评论(0) 推荐(0) 编辑
  2022年10月21日
摘要: <template> <div class="version-diff-content"> <div class="version-diff-top"> <div> <el-select v-model="versionDiffSelected.selectOne.version" placehol 阅读全文
posted @ 2022-10-21 16:10 occc 阅读(1398) 评论(0) 推荐(0) 编辑
  2022年10月20日
摘要: 使用效果 使用方法 1. cnpm install vue-code-diff 2. <code-diff class="center" :renderNothingWhenEmpty="true" // 差异为空时不显示 :old-string="oldJsonData" // 对比旧数据 :ne 阅读全文
posted @ 2022-10-20 15:01 occc 阅读(709) 评论(0) 推荐(0) 编辑
  2022年10月13日
摘要: console.log("下载文件内容", this.content) const blob = new Blob([this.content], {type: 'text/plain;charset=utf-8'}) let downloadElement = document.createEle 阅读全文
posted @ 2022-10-13 11:48 occc 阅读(1520) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 12 下一页