一、輪播圖中由于默認(rèn)自動復(fù)制增加了一張圖,所有在做輪播圖的點擊事件時不能簡單的用官方文檔,應(yīng)使用computed方法來定義。 computed:{ swiper(){ ret...
IP屬地:湖南
一、輪播圖中由于默認(rèn)自動復(fù)制增加了一張圖,所有在做輪播圖的點擊事件時不能簡單的用官方文檔,應(yīng)使用computed方法來定義。 computed:{ swiper(){ ret...
1、打開彈窗調(diào)用window.history.pishState()函數(shù) Transport(){ this.ship=true; window.history....
this.$router.replace({ path:"/subpagest" });//不會向 history 添加新記錄,而是跟它的方法名一樣 —— 替換掉當(dāng)前的 hi...