vue3 reactive 数组清空

const array = reactive([1,2,3]);
array.length = 0;
posted @ 2023-05-08 16:39  火龙果呀  阅读(531)  评论(0)    收藏  举报