update i18n format
vue remove hasOwn
This commit is contained in:
parent
ab249f7059
commit
07daf1b611
1 changed files with 4 additions and 1 deletions
|
@ -7,7 +7,10 @@
|
||||||
const RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g;
|
const RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g;
|
||||||
|
|
||||||
export default function(Vue) {
|
export default function(Vue) {
|
||||||
const { hasOwn } = Vue.util;
|
// const { hasOwn } = Vue.util;
|
||||||
|
function hasOwn (obj, key) {
|
||||||
|
return Object.prototype.hasOwnProperty.call(obj, key);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* template
|
* template
|
||||||
|
|
Loading…
Add table
Reference in a new issue