阅读背景:

vue路由传对象刷新会报错,数据丢失,用json字符串解决

来源:互联网 
变成json字符串,且加密
 this.$router.push({name: response.body.PowerList[0].opPowerurl ,query :{ all: encodeURIComponent(JSON.stringify(response.body.all)), one: encodeURIComponent(JSON.stringify(response.body.one))}}); this.$router.push({name: r



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: