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