转自: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; }2024-01-10 21:46:40
转自: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; }