身思乐,人事爱,稳恒不言败!

[Vue warn]: Props with type Object/Array must use a factory function to return the default value.

a: {
  type: Array,
  default: ['10', '30', '50', '100']
},
=>
a: {
  type: Array,
  default: () => ['10', '30', '50', '100']
},

https://github.com/vuejs/vue/issues/1032