Skip to content

Unicode naming for methods seems unsupported. Some warning will be appreciated. #6975

@nobodxbodon

Description

@nobodxbodon

Version

2.5.2

Reproduction link

http://jsfiddle.net/p48cLbe3/2/

Steps to reproduce

    <script src="https://unpkg.com/vue"></script>
    <div id="元素id5">
      <p>{{ 问好 }}</p>
      <button v-on:click="改口">改口</button>
    </div>
var 应用5 = new Vue({
  el: '#元素id5',
  data: {
    问好: '你好'
  },
  methods: {
    改口: function () {
      this.问好 = '吃了么'
    }
  }
})

What is expected?

Excuse me if this is closer to feature request.

It'll be great if method can support unicode naming. Otherwise it may be better to provide some feedback.

Thanks for your efforts.

What is actually happening?

I'm guessing validation passes because the method does exist, but somehow invoking method fails.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions