企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持知识库和私有化部署方案 广告
[TOC] ## useArrayDifference ``` import { useArrayDifference } from '@vueuse/core' const list1 = ref([0, 1, 2, 3, 4, 5]) const list2 = ref([4, 5, 6]) const result = useArrayDifference(list1, list2) // result.value: [0, 1, 2, 3] list2.value = [0, 1, 2] // result.value: [3, 4, 5] ```