body {background-color: #c3c3c3}
摘要: 1. 子组件给父子件传参 然后循环2 v -for = "(sel,selindex) in selectalls" 括号中间逗号3. 给数据的每个对象插入属性值 vm.$data.all.map(item => { vm.$set(item, 'selectNum', 0) vm.$set(ite 阅读全文
posted @ 2023-11-30 22:23 最美胡萝卜 阅读(46) 评论(0) 推荐(0)
摘要: 嵌套选项卡 <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <script src="js/vue. 阅读全文
posted @ 2023-11-30 10:50 最美胡萝卜 阅读(11) 评论(0) 推荐(0)
body {background-color: #c3c3c3}