03 2021 档案

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