11 2021 档案
摘要:js表单验证我们一般这么写 this.$refs.表单名称.validate((valid) => { if(valid) {} }) 使用ts时,这么写表单验证会报错,改成下面这种就可以 let ref: any = this.$refs.表单名称 ref.validate((valid) =>
阅读全文
摘要:word-wrap: break-word; word-break: break-all;
阅读全文
摘要:tooltip: { trigger: 'item', axisPointer: { type: "shadow", }, textStyle: { fontSize: 30, color: "#fff", }, // 自定义弹窗样式 padding: 0, backgroundColor: "tr
阅读全文
摘要:设置渐变色 color1 = new ECharts.graphic.LinearGradient(0,1,0,0,[{ offset: 0, color: "rgba(100,160,255,0.5)" }, { offset: 1, color: "#0AC8FF" }],false) colo
阅读全文
摘要:series: [ { type: 'line', areaStyle: { color: { type: 'linear', x: 0, y: 0, x2: 0, y2: 1, colorStops: [{ offset: 0, color: 'rgba(125,72,255,0.5)' }, {
阅读全文

浙公网安备 33010602011771号