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

okjesse picture okjesse  ·  49Comments

yyx990803 picture yyx990803  ·  210Comments

yyx990803 picture yyx990803  ·  48Comments

smolinari picture smolinari  ·  116Comments

ferry77 picture ferry77  ·  67Comments