/* eslint-disable no-new */
new Vue({
el: '#app',
router,
components: { App },
template: '<App/>',
data:function(){
return{
wbWinList: [] // 定义的变量,全局参数
}
},
})
//使用全局参数
// this.$root.backgroundColor = 666;
其它页面如果想监听改变
//监听全局变量,更新
watch: {
'$root.backgroundColor':{
handler(){
},
deep: true
},
},






![[新手入门]1台电脑+1个电视+2个软件(sunshine+moonlight) 解决黑神话悟空没有hdmi线的痛...](https://i-blog.csdnimg.cn/direct/3231341c02114ddcb6aa38513428ec98.png)






![[数据集][目标检测]风力发电机叶片损伤检测数据集VOC+YOLO格式5029张8类别](https://i-blog.csdnimg.cn/direct/93db407819694a1e9c2035f8d27a09f7.png)







