解决办法在dataZoom 里添加
filterMode: 'empty'解决
dataZoom: [{
show: true,
height: 8,
start: 7,
bo...
5年前 (2020-11-10)
喜欢
第一种方式
使用竖线分割
props: {
follow: {
type: Number | String,
default() {
return 0;
...
5年前 (2020-11-09)
喜欢
功能提取自腾讯im vue版本中
演示地址
https://yelingkong.github.io/vuebiaoqing/
github地址
https://github.com/yelingkong/vuebiaoqing.git
...
5年前 (2020-10-31)
喜欢
安装
yarn add ajv -S
例子
var Ajv = require('ajv')
// or ESM/TypeScript import
const schema = {
type: 'string',
minLengt...
5年前 (2020-10-31)
喜欢
创建.eslintignore
输入需要eslint忽略的文件夹
schema-tests
忽略前
忽略后
...
5年前 (2020-10-27)
喜欢
json-schema用来定义JSON数据,用JSON格式来告诉我们想要得到的数据的结构是什么样子的。
json是通用的数据类型。可以在不同的语言中使用。
校验数据
校验对象是否是我们想要的数据。
ajv前端常用的库
ajv官网
ajv.js.org
实例代码
var Ajv ...
5年前 (2020-10-27)
喜欢