Skip to content

Can not use a multi-byte character set for data binding #1796

@Tanoemon

Description

@Tanoemon
var base = new Vue({
    el: '#base',
    template: html,
    data: {
      漢字: {
        太郎君: '1000',
        花子: '4000'
      }
    }
});
<div>{{漢字.太郎君}}</div>
<div>{{漢字.花子}}</div>

Result in Chrome

[Vue warn]: Error when evaluating expression "漢字.太郎君".
debug.js:33 ReferenceError: 漢字 is not defined
[Vue warn]: Error when evaluating expression "漢字.花子".
debug.js:33 ReferenceError: 漢字 is not defined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions