朋友们 求解
vue3 代码:
store.commit('routingTitle', name)
然后从上个页面进来报错:
index.js?t=1688535789194:292 Uncaught (in promise) TypeError: 'set' on proxy: trap returned falsish for property 'routingTitle'
at Store2.routingTitle (index.js?t=1688535789194:292:23)
at wrappedMutationHandler (vuex.esm-bundler.js:315:13)
at commitIterator (vuex.esm-bundler.js:1005:7)
at Array.forEach (<anonymous>)
at vuex.esm-bundler.js:1004:11
at Store2._withCommit (vuex.esm-bundler.js:1163:3)
at Store2.commit (vuex.esm-bundler.js:1003:8)
at Store2.boundCommit [as commit] (vuex.esm-bundler.js:940:19)
at factory.vue:71:9
at runtime-core.esm-bundler.js:2746:40