Vue: The example in Chinese doc is different with which in English

Created on 20 Jun 2017  ·  4Comments  ·  Source: vuejs/vue

Steps to reproduce

According to the Chinese doc (see at https://cn.vuejs.org/v2/guide/events.html)

  1. Copy the example code(example-2) to my test page
  2. In the console, enter example2.greet() , click Enter; it will show a dialog box, click Enter
  3. U will see an error in console.

And the example in English doc is OK. At last, I found they are different:

Chinese:

image

English:

image

What is expected?

PS: I think this create issues page is not friendly:

  1. I can not use markdown language
  2. I can not paste an image to describe the problem in a better detail

What is actually happening?

image

contribution welcome

All 4 comments

It would be great if you could directly do the PR 😄
Closing since this issue should be on the Chinese doc

--!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

loki0609 picture loki0609  ·  3Comments

6pm picture 6pm  ·  3Comments

lmnsg picture lmnsg  ·  3Comments

aviggngyv picture aviggngyv  ·  3Comments

bfis picture bfis  ·  3Comments