1、promise 定时优先级比较
promise函数会比定时先执行。因为promise是属于JavaScript引擎内部任务,定时是浏览器Api,引擎内部任务优先级高于浏览器Api任务。
2、el-checkbox样式修改
.tilesetMwRadio {
/deep/ .el-checkbox {
font-size: 18px;
color: rgba(255, 183, 0, 1);
font-weight: 700;
.el-checkbox__inner {
width: 16px;
height: 16px;
background: url("../staticData/imgs/legend/weixuanzhong.png") no-repeat;
border: none;
}
.el-checkbox__label {
font-size: 18px;
}
.el-checkbox__input.is-checked+.el-checkbox__label {
color: rgba(255, 183, 0, 1);
}
.el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
background: url("../staticData/imgs/legend/xuanzhongradio.png") no-repeat;
border: none;
}
.el-checkbox__input.is-checked .el-checkbox__inner::after {
content: none;
}
}
}