03 2021 档案
摘要:在ECMAScript中,有3个关键字可以用于声明变量。分别是:var、let和const。其中,var在所有ECMAScript都是可以使用的,但是let和const需要在ECMAScript6及其以上版本才可以使用。 let和const的行为基本一致,但是其中有一个比较重要的一个区别,就是con
阅读全文
摘要:指定页面跳转 this.$router.push({ path:'/two.html' }) <router-link to='two.html'><button>点我到第二个页面</button></router-link> 跳转上一个页面 this.$router.go(-1); this.$r
阅读全文

浙公网安备 33010602011771号