VueJS v-for Key:Values 的数组使用方法从商店

VueJS v-for An Array of Key:Values From Store Using a Method

我如何使用 v-for 从商店使用方法获取 key:values 的数组?

The CodePen is available here

感谢任何帮助。

P.S。 我在 SO 上已经 10 年了,someone/somehow 删除了我的帐户。所以,我要开始 ew.

添加 v-for="(item, index) in array" 将从索引中提取值。

更新:globalHours()[index] 替换 globalHours()