1.定义对象 const test = reactive({name: 'test'}) (1)使用Object.assign Object.assign(test, {}) 要是里面有键值对的话,也会全部没有 (2)重新赋值 test = reactive({}) 2.定义数组const test = reactive([]) (1)直接定义长度等于0 test.length = 0