Failed to execute 'setltem' on 'Storage';Setting the value of 'saber-tag' exceeded the quot

Blade 未结 3 493
豆芽菜
豆芽菜 2023-11-15 16:02

一、该问题的重现步骤是什么?

1、页面点击详情跳转tab路由新增、页面并没有跳转

1700035069802.png


二、你期待的结果是什么?实际看到的又是什么?

应该怎么解决

三、你正在使用的是什么产品,什么版本?在什么操作系统上?


四、请提供详细的错误堆栈信息,这很重要。

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

五、若有更多详细信息,请在下面提供。

详情跳转

image.png

路由

image.png

3条回答
提交回复