摘要: option = { tooltip: { trigger: 'axis', axisPointer: { // Use axis to trigger tooltip type: 'shadow' // 'shadow' as default; can also be 'line' or 'sha 阅读全文
posted @ 2023-09-28 09:54 张哲Zeo 阅读(288) 评论(0) 推荐(0)
摘要: option = { title: { text: 'World Population' }, tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } }, legend: {}, grid: { left: '3%', right: 阅读全文
posted @ 2023-09-28 09:53 张哲Zeo 阅读(60) 评论(0) 推荐(0)
摘要: element-china-area-data npm 下载此数据包 安装 npm install element-china-area-data -S import 使用 import { provinceAndCityData, pcTextArr, regionData, pcaTextArr 阅读全文
posted @ 2023-09-27 16:00 张哲Zeo 阅读(320) 评论(0) 推荐(0)
摘要: 1. 使用VUE Router 主要使用router的resolve方法进行路径及参数构造 jumpPage(){ let routeData = this.$router.resolve({ name: "newPage", query: { name: "zs" } }) window.open 阅读全文
posted @ 2023-09-04 10:43 张哲Zeo 阅读(53) 评论(0) 推荐(0)
摘要: 1. 现象: 直接for循环动态创建a标签后,进行click事件触发下载时,你会发现浏览器只下载了最后一个文件 原因:浏览器下载时,太快的话,会取消上次的下载 解决方法一:可添加settimeout定时器,进行一定时间延迟,比如300毫秒,把下载触发的事件放到定时器中即可。 2. 解决方法二 通过i 阅读全文
posted @ 2023-08-29 18:59 张哲Zeo 阅读(902) 评论(0) 推荐(0)
摘要: 一、安装 1. 直接使用npm包管理工具进行下载 npm install lib-flexible --save npm install postcss-pxtorem --save *如果报错:“Error: PostCSS plugin postcss-pxtorem requires Post 阅读全文
posted @ 2023-08-29 18:37 张哲Zeo 阅读(937) 评论(0) 推荐(0)
摘要: 字符实体:在 HTML 中显示小于号 (<) 一些字符在 HTML 中拥有特殊的含义,比如小于号 (<) 用于定义 HTML 标签的开始。如果我们希望浏览器正确地显示这些字符,我们必须在 HTML 源码中插入字符实体。 字符实体有三部分:一个和号 (&),一个实体名称,或者 # 和一个实体编号,以及 阅读全文
posted @ 2023-05-24 08:38 张哲Zeo 阅读(132) 评论(0) 推荐(0)
摘要: 现在,很多web端操作都喜欢使用拖拽上传功能。此方法使用起来也很简单,主要是使用 ondrop 和 ondragover 两个事件。 在vue中是这样的 <div class="upload-file-box" v-loading="loading" @drop="dropFile($event)" 阅读全文
posted @ 2023-04-12 09:27 张哲Zeo 阅读(1058) 评论(0) 推荐(0)
摘要: 1. 查看分支 git branch -a 2. 切换分支 git checkout [分支名称] 3. 新建分支,首先切换到需要拉取的分支上,然后使用下面任一命令即可 git checkout -b [分支名称] // 创建并切换分支 git branch [分支名称] 4. 将本地分支推送到远程 阅读全文
posted @ 2023-02-22 19:48 张哲Zeo 阅读(33) 评论(0) 推荐(0)
摘要: This dependency was not found: * core-js/modules/es.error.cause.js in ./node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js, ./src/direct 阅读全文
posted @ 2022-08-11 10:05 张哲Zeo 阅读(424) 评论(0) 推荐(0)