|
8 | 8 | <link rel="dns-prefetch" href="http://yoursite.com"> |
9 | 9 | <title>aboutVue | Lincoln`s blog</title> |
10 | 10 | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> |
11 | | - <meta name="description" content="啊,vue很头疼的一个问题,单页面跳转的问题:1、跳转到下一页,一般都没啥问题,在根路径下router-link :to=’/index’或者push({path:’/index’})2、跳转到站外,这里很坑,注意高能-&gt;要使用home点击后就成了http://localhost:3000/www.baidu.com/blabla,哈哈哈 蛋疼还以为是router的问题研究半天,其实给地址加"> |
| 11 | + <meta name="description" content="啊,vue很头疼的一个问题,单页面跳转的问题:1、跳转到下一页,一般都没啥问题,在根路径下router-link :to=’/index’或者push({path:’/index’})2、跳转到站外,这里很坑,注意高能-&gt;要使用&lt;a href=&quot;www.baidu.com&quot;&gt;home&lt;/a&gt;点击后就成了http://localhost:3000/w"> |
12 | 12 | <meta property="og:type" content="article"> |
13 | 13 | <meta property="og:title" content="aboutVue"> |
14 | 14 | <meta property="og:url" content="http://yoursite.com/2019/09/05/aboutVue/index.html"> |
15 | 15 | <meta property="og:site_name" content="Lincoln`s blog"> |
16 | | -<meta property="og:description" content="啊,vue很头疼的一个问题,单页面跳转的问题:1、跳转到下一页,一般都没啥问题,在根路径下router-link :to=’/index’或者push({path:’/index’})2、跳转到站外,这里很坑,注意高能-&gt;要使用home点击后就成了http://localhost:3000/www.baidu.com/blabla,哈哈哈 蛋疼还以为是router的问题研究半天,其实给地址加"> |
| 16 | +<meta property="og:description" content="啊,vue很头疼的一个问题,单页面跳转的问题:1、跳转到下一页,一般都没啥问题,在根路径下router-link :to=’/index’或者push({path:’/index’})2、跳转到站外,这里很坑,注意高能-&gt;要使用&lt;a href=&quot;www.baidu.com&quot;&gt;home&lt;/a&gt;点击后就成了http://localhost:3000/w"> |
17 | 17 | <meta property="og:locale" content="en"> |
18 | | -<meta property="og:updated_time" content="2019-09-05T06:03:37.789Z"> |
| 18 | +<meta property="og:updated_time" content="2019-09-05T06:04:59.297Z"> |
19 | 19 | <meta name="twitter:card" content="summary"> |
20 | 20 | <meta name="twitter:title" content="aboutVue"> |
21 | | -<meta name="twitter:description" content="啊,vue很头疼的一个问题,单页面跳转的问题:1、跳转到下一页,一般都没啥问题,在根路径下router-link :to=’/index’或者push({path:’/index’})2、跳转到站外,这里很坑,注意高能-&gt;要使用home点击后就成了http://localhost:3000/www.baidu.com/blabla,哈哈哈 蛋疼还以为是router的问题研究半天,其实给地址加"> |
| 21 | +<meta name="twitter:description" content="啊,vue很头疼的一个问题,单页面跳转的问题:1、跳转到下一页,一般都没啥问题,在根路径下router-link :to=’/index’或者push({path:’/index’})2、跳转到站外,这里很坑,注意高能-&gt;要使用&lt;a href=&quot;www.baidu.com&quot;&gt;home&lt;/a&gt;点击后就成了http://localhost:3000/w"> |
22 | 22 |
|
23 | 23 | <link rel="alternative" href="/atom.xml" title="Lincoln`s blog" type="application/atom+xml"> |
24 | 24 |
|
@@ -174,7 +174,7 @@ <h1 class="article-title" itemprop="name"> |
174 | 174 |
|
175 | 175 | <div class="article-entry" itemprop="articleBody"> |
176 | 176 |
|
177 | | - <p>啊,vue很头疼的一个问题,单页面跳转的问题:<br>1、跳转到下一页,一般都没啥问题,在根路径下<br>router-link :to=’/index’或者push({path:’/index’})<br>2、跳转到站外,这里很坑,注意高能->要使用<a href="www.baidu.com">home</a><br>点击后就成了<a href="http://localhost:3000/www.baidu.com/blabla,哈哈哈" target="_blank" rel="noopener">http://localhost:3000/www.baidu.com/blabla,哈哈哈</a> 蛋疼还以为是router的问题研究半天,其实<br>给地址加个协议就好了<a href="https://www.baidu.com" target="_blank" rel="noopener">home</a>(或者<a :href="url">home</a>)就可以辣</p> |
| 177 | + <p>啊,vue很头疼的一个问题,单页面跳转的问题:<br>1、跳转到下一页,一般都没啥问题,在根路径下<br>router-link :to=’/index’或者push({path:’/index’})<br>2、跳转到站外,这里很坑,注意高能->要使用<br><code><a href="www.baidu.com">home</a></code><br>点击后就成了<code>http://localhost:3000/www.baidu.com/blabla</code>,哈哈哈 蛋疼还以为是router的问题研究半天,其实<br>给地址加个协议就好了<code><a href="https://www.baidu.com">home</a>(或者<a :href="url">home</a>)</code>就可以辣</p> |
178 | 178 |
|
179 | 179 |
|
180 | 180 |
|
|
0 commit comments