一、该问题的重现步骤是什么?
1、页面点击详情跳转tab路由新增、页面并没有跳转
二、你期待的结果是什么?实际看到的又是什么?
应该怎么解决
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
四、请提供详细的错误堆栈信息,这很重要。
vue-router.mjs:3472 DOMException: Failed to execute 'setItem' on 'Storage': Setting the value of 'saber-tag' exceeded the quota.
at setStore (http://192.168.2.75:2888/src/utils/store.js:18:28)
at Store2.ADD_TAG (http://192.168.2.75:2888/src/store/modules/tags.js:15:7)
at wrappedMutationHandler (http://192.168.2.75:2888/node_modules/.vite/deps/vuex.js?v=49594ecf:240:13)
at commitIterator (http://192.168.2.75:2888/node_modules/.vite/deps/vuex.js?v=49594ecf:821:7)
at Array.forEach (
at http://192.168.2.75:2888/node_modules/.vite/deps/vuex.js?v=49594ecf:820:11
at Store2._withCommit (http://192.168.2.75:2888/node_modules/.vite/deps/vuex.js?v=49594ecf:960:3)
at Store2.commit (http://192.168.2.75:2888/node_modules/.vite/deps/vuex.js?v=49594ecf:819:8)
at Store2.boundCommit [as commit] (http://192.168.2.75:2888/node_modules/.vite/deps/vuex.js?v=49594ecf:778:20)
at http://192.168.2.75:2888/src/permission.js:31:17
triggerError @ vue-router.mjs:3472
(匿名) @ vue-router.mjs:3186
Promise.catch(异步)
pushWithRedirect @ vue-router.mjs:3180
push @ vue-router.mjs:3112
handleDetail @ finishedPeopleList.vue:485
onClick @ finishedPeopleList.vue:14
callWithErrorHandling @ runtime-core.esm-bundler.js:158
callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:166
invoker @ runtime-dom.esm-bundler.js:278
store.js:18 Uncaught (in promise) DOMException: Failed to execute 'setItem' on 'Storage': Setting the value of 'saber-tag' exceeded the quota.
at setStore (http://192.168.2.75:2888/src/utils/store.js:18:28)
at Store2.ADD_TAG (http://192.168.2.75:2888/src/store/modules/tags.js:15:7)
at wrappedMutationHandler (http://192.168.2.75:2888/node_modules/.vite/deps/vuex.js?v=49594ecf:240:13)
at commitIterator (http://192.168.2.75:2888/node_modules/.vite/deps/vuex.js?v=49594ecf:821:7)
at Array.forEach (
at http://192.168.2.75:2888/node_modules/.vite/deps/vuex.js?v=49594ecf:820:11
at Store2._withCommit (http://192.168.2.75:2888/node_modules/.vite/deps/vuex.js?v=49594ecf:960:3)
at Store2.commit (http://192.168.2.75:2888/node_modules/.vite/deps/vuex.js?v=49594ecf:819:8)
at Store2.boundCommit [as commit] (http://192.168.2.75:2888/node_modules/.vite/deps/vuex.js?v=49594ecf:778:20)
at http://192.168.2.75:2888/src/permission.js:31:17
setStore @ store.js:18
ADD_TAG @ tags.js:15
wrappedMutationHandler @ vuex.esm-bundler.js:315
commitIterator @ vuex.esm-bundler.js:1005
(匿名) @ vuex.esm-bundler.js:1004
_withCommit @ vuex.esm-bundler.js:1163
commit @ vuex.esm-bundler.js:1003
boundCommit @ vuex.esm-bundler.js:940
(匿名) @ permission.js:31
(匿名) @ vue-router.mjs:2009
(匿名) @ vue-router.mjs:1981
runWithContext @ runtime-core.esm-bundler.js:3865
runWithContext @ vue-router.mjs:3239
(匿名) @ vue-router.mjs:3588
Promise.then(异步)
pushWithRedirect @ vue-router.mjs:3187
push @ vue-router.mjs:3112
handleDetail @ finishedPeopleList.vue:485
onClick @ finishedPeopleList.vue:14
callWithErrorHandling @ runtime-core.esm-bundler.js:158
callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:166
invoker @ runtime-dom.esm-bundler.js:278
五、若有更多详细信息,请在下面提供。
详情跳转
路由
页面点击可以参考下这里:
https://center.javablade.com/blade/Saber3/src/branch/master/src/router/views/index.js#L93
https://center.javablade.com/blade/Saber3/src/branch/master/src/views/work/start.vue#L209
如果不是你要的功能,你需要提供更多的相关代码以及操作步骤,我们才好帮忙判断
扫一扫访问 Blade技术社区 移动端