vue在新窗口打開頁面的方法

有時候後咱們會須要在一個新窗口打開頁面,而咱們都知道,vue是單頁面的應用,經過router在內部跳轉的。可是依然有辦法實現這個需求。vue 剛開始在網上找了一下,有兩種方式,一種是給outer-link標籤添加tag=a跳轉打開新窗口,親測有效。this <router-link tag="a" target="_blank" :to="{name:'detail',query:{goodsId
相關文章
相關標籤/搜索