-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Closed
Labels
❗ p4-importantPriority 4: this fixes bugs that violate documented behavior, or significantly improves perf.Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf.🐞 bugSomething isn't workingSomething isn't workingregression
Description
Vue version
3.5.3
Link to minimal reproduction
Steps to reproduce
vue 3.5 renderList BUG
<script setup lang="ts">
import { shallowReactive, ref, isReactive } from 'vue';
const shallowReactiveArray = shallowReactive([
{
aaa: ref('aaa1'),
},
]);
</script>
<template>
<template v-for="item in shallowReactiveArray">{{
typeof item.aaa
}}</template>
{{ typeof shallowReactiveArray[0].aaa }}
</template>
What is expected?
result is "object object"
What is actually happening?
result is "string object"
System Info
System:
OS: macOS 14.6
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 407.94 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.16.0 - ~/.nvm/versions/node/v20.16.0/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v20.16.0/bin/yarn
npm: 10.8.2 - ~/.nvm/versions/node/v20.16.0/bin/npm
pnpm: 8.15.9 - ~/.nvm/versions/node/v20.16.0/bin/pnpm
Browsers:
Chrome: 128.0.6613.120
Edge: 128.0.2739.67
Safari: 17.6
Any additional comments?
No response
Metadata
Metadata
Assignees
Labels
❗ p4-importantPriority 4: this fixes bugs that violate documented behavior, or significantly improves perf.Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf.🐞 bugSomething isn't workingSomething isn't workingregression