Closed
Description
Version
3.0.0-rc.5
Reproduction link
https://codepen.io/ByScripts/pen/YzqwEER
Steps to reproduce
<template>
<pre>{{ obj.prop }}</pre>
<pre>{{ arr.prop }}</pre>
</template>
<script>
setup() {
let obj = {};
obj.prop = ref("obj prop");
let arr = [];
arr.prop = ref("arr prop");
return reactive({ obj, arr });
}
</script>
What is expected?
Both prop
properties should be unwrapped
What is actually happening?
Only the object prop
is unwrapped. The array prop
is not.
Metadata
Metadata
Assignees
Labels
No labels