Skip to content

Commit 6762975

Browse files
committed
Site updated: 2019-09-05 14:07:25
1 parent a0efa7b commit 6762975

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

2019/09/05/aboutVue/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@
88
<link rel="dns-prefetch" href="http://yoursite.com">
99
<title>aboutVue | Lincoln`s blog</title>
1010
<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、跳转到站外,这里很坑,注意高能-&amp;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、跳转到站外,这里很坑,注意高能-&amp;gt;要使用&amp;lt;a href=&amp;quot;www.baidu.com&amp;quot;&amp;gt;home&amp;lt;/a&amp;gt;点击后就成了http://localhost:3000/w">
1212
<meta property="og:type" content="article">
1313
<meta property="og:title" content="aboutVue">
1414
<meta property="og:url" content="http://yoursite.com/2019/09/05/aboutVue/index.html">
1515
<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、跳转到站外,这里很坑,注意高能-&amp;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、跳转到站外,这里很坑,注意高能-&amp;gt;要使用&amp;lt;a href=&amp;quot;www.baidu.com&amp;quot;&amp;gt;home&amp;lt;/a&amp;gt;点击后就成了http://localhost:3000/w">
1717
<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">
1919
<meta name="twitter:card" content="summary">
2020
<meta name="twitter:title" content="aboutVue">
21-
<meta name="twitter:description" content="啊,vue很头疼的一个问题,单页面跳转的问题:1、跳转到下一页,一般都没啥问题,在根路径下router-link :to=’/index’或者push({path:’/index’})2、跳转到站外,这里很坑,注意高能-&amp;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、跳转到站外,这里很坑,注意高能-&amp;gt;要使用&amp;lt;a href=&amp;quot;www.baidu.com&amp;quot;&amp;gt;home&amp;lt;/a&amp;gt;点击后就成了http://localhost:3000/w">
2222

2323
<link rel="alternative" href="/atom.xml" title="Lincoln`s blog" type="application/atom+xml">
2424

@@ -174,7 +174,7 @@ <h1 class="article-title" itemprop="name">
174174

175175
<div class="article-entry" itemprop="articleBody">
176176

177-
<p>啊,vue很头疼的一个问题,单页面跳转的问题:<br>1、跳转到下一页,一般都没啥问题,在根路径下<br>router-link :to=’/index’或者push({path:’/index’})<br>2、跳转到站外,这里很坑,注意高能-&gt;要使用<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、跳转到站外,这里很坑,注意高能-&gt;要使用<br><code>&lt;a href=&quot;www.baidu.com&quot;&gt;home&lt;/a&gt;</code><br>点击后就成了<code>http://localhost:3000/www.baidu.com/blabla</code>,哈哈哈 蛋疼还以为是router的问题研究半天,其实<br>给地址加个协议就好了<code>&lt;a href=&quot;https://www.baidu.com&quot;&gt;home&lt;/a&gt;(或者&lt;a :href=&quot;url&quot;&gt;home&lt;/a&gt;)</code>就可以辣</p>
178178

179179

180180

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ <h1 itemprop="name">
172172

173173
<div class="article-entry" itemprop="articleBody">
174174

175-
<p>啊,vue很头疼的一个问题,单页面跳转的问题:<br>1、跳转到下一页,一般都没啥问题,在根路径下<br>router-link :to=’/index’或者push({path:’/index’})<br>2、跳转到站外,这里很坑,注意高能-&gt;要使用<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>
175+
<p>啊,vue很头疼的一个问题,单页面跳转的问题:<br>1、跳转到下一页,一般都没啥问题,在根路径下<br>router-link :to=’/index’或者push({path:’/index’})<br>2、跳转到站外,这里很坑,注意高能-&gt;要使用<br><code>&lt;a href=&quot;www.baidu.com&quot;&gt;home&lt;/a&gt;</code><br>点击后就成了<code>http://localhost:3000/www.baidu.com/blabla</code>,哈哈哈 蛋疼还以为是router的问题研究半天,其实<br>给地址加个协议就好了<code>&lt;a href=&quot;https://www.baidu.com&quot;&gt;home&lt;/a&gt;(或者&lt;a :href=&quot;url&quot;&gt;home&lt;/a&gt;)</code>就可以辣</p>
176176

177177

178178

0 commit comments

Comments
 (0)