04 2022 档案
摘要:1. carousel 轮播 开启左右箭头 arrows 属性设为 true <a-carousel arrows :dots="false" ref="carouselRef"> <div slot="prevArrow" slot-scope="props" class="custom-slic
阅读全文
摘要:1. tooltip tooltip中进行点击事件 注意事项: triggerOn 一定要改为 “click”。 enterable 要设置为 true,才能使鼠标进入提示框可以进行点击事件 在 formatter 中添加 内联的点击事件,事件处理函数需要挂载在 window 上,否则获取不到 ex
阅读全文
摘要:使用 postcss-px-to-viewport 适配 安装插件 postcss-px-to-viewport npm install postcss-px-to-viewport --save-dev 配置postcss-px-to-viewport 使用 postcss.config.js单独
阅读全文
摘要:xAxis: { show:false,//不显示坐标轴线、坐标轴刻度线和坐标轴上的文字 axisTick:{ show:false//不显示坐标轴刻度线 }, axisLine: { show: false,//不显示坐标轴线 }, axisLabel: { show: false,//不显示坐标
阅读全文
摘要:安装yarn npm install -g yarn yarn --version yarn设置淘宝源 yarn config set registry https://registry.npm.taobao.org -g yarn config set sass_binary_site http:
阅读全文
摘要:概述 环境: MacBook Pro 从官网下载: https://code.visualstudio.com/ 使用自带的Safari浏览器,步骤如下: 进入vscode官方网站:https://code.visualstudio.com/Download 点击Mac下载vscode最新版本 可以
阅读全文