Closed Aostas closed 3 months ago
这确实是个问题,我们内部先评审下解决方案。
Bot detected the issue body's language is not English, translate it automatically.
This is indeed a problem, and we will review the solution internally first.
修复中
Bot detected the issue body's language is not English, translate it automatically.
Under repair
已修复,待发布。
Bot detected the issue body's language is not English, translate it automatically.
Fixed and pending release.
Version
3
Vue Version
3.2.45
Link to minimal reproduction
https://opentiny.design/tiny-vue/zh-CN/os-theme/components/toggle-menu#get-menu-data-async
Step to reproduce
修改实例代码中的数据,甚至把数据以及
:get-menu-data-async="getMenuDataAsync"
全删掉,显示数据无变化,猜测是get-menu-data-async未执行,使用了默认数据。在
console.log("getMenuDataAsync")
未打印,打断点也不会触发What is expected
执行
getMenuDataAsync
后获得目录数据What is actually happening
未执行
getMenuDataAsync
Any additional comments (optional)
TreeMenu的异步会有吗,本来想用TreeView的