|
@@ -35,7 +35,7 @@ export default {
|
|
attrs() {
|
|
attrs() {
|
|
return Object.entries(this.$options.propsData).reduce(
|
|
return Object.entries(this.$options.propsData).reduce(
|
|
(o, [key, value]) => {
|
|
(o, [key, value]) => {
|
|
- !Object.hasOwn(this.$props, key) && (o[key] = value);
|
|
|
|
|
|
+ !Object.prototype.hasOwnProperty.call(this.$props, key) && (o[key] = value);
|
|
return o;
|
|
return o;
|
|
},
|
|
},
|
|
{},
|
|
{},
|