在computed下 我使用...mapGetters({ 'employeeRenderData': 'getEmployeeRenderData',})調用時value: t.employeeRenderData.employeeSum //可以調到但是value: t.employeeRenderData.employeeSum.total //就會報錯Cannot read property 'total' of undefined在template中{{這里面調用也是同樣的問題 求大神幫忙}}
vue+vuex中 使用getter獲取到的數據源只能調用第一層屬性,第二層報錯
慕哥9229398
2018-11-14 14:10:57