我需要把object
{
"tube1":[
{"msg": "hello"},
{"msg": "world"},
],
"tube2":[
{"msg": "hello2"},
{"msg": "world2"},
],
"tube3":[
{"msg": "hello3"},
{"msg": "world3"},
]
}
展示出来,貌似v-for只对array有效,我该怎么做?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
Object 也可行吧:
https://jsfiddle.net/a95sn161/