转自:https://www.cnblogs.com/qdlhj/p/12332407.html
采用方式:
if (val == 1) {
this.$refs[‘createForm‘].rules.stopPushTime[0].required = false;
}else{
this.$refs[‘createForm‘].rules.stopPushTime[0].required = true;
}
2023-12-23 14:43:10
转自:https://www.cnblogs.com/qdlhj/p/12332407.html
采用方式: