Vuex: How can I pass a variable to a getter?

前端 未结 0 2003
轮回少年
轮回少年 2020-12-16 05:16

In a vue app I get an elementId from the URL to pass in to a vuex getter: