Browse Source

docs(页签操作): 更正“全新打开页签”示例

zhaihaoyi 6 years ago
parent
commit
44bac006d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/guide.md

+ 1 - 1
docs/guide.md

@@ -142,7 +142,7 @@ export default new Router({
   全新打开页签 (**刷新已有页签**)
 
   ``` html
-  <router-link to="/page/2"click.native="$routerTab.refresh('/page/2')">页面2”<router-link>
+  <router-link to="/page/2" @click.native="$routerTab.refresh('/page/2')">页面2”<router-link>
   ```
 
 2. **通过 `router.push`、`router.replace`、`router.go`**