摘要:
问题:在Vue页面中将C变量赋值给A、B,然后修改A值,发现B也给变了。 var c = [1,2,3,4]; var a = c; var b = c; a.pop(); console.log(a) //[1,2,3] console.log(b) //[1,2,3] console.log(c 阅读全文
you have to be an expert of something, then you can find the way to succeed!