当我点击经济运行分析 再重复点击时候会报如图错误
解决方法:
在router文件下的index中添加:
const originalPush = VueRouter.prototype.push
VueRouter.prototype.push = function push(location) {
return originalPush.call(this, location).catch(err => err)
}
示例:
over
当我点击经济运行分析 再重复点击时候会报如图错误
解决方法:
在router文件下的index中添加:
const originalPush = VueRouter.prototype.push
VueRouter.prototype.push = function push(location) {
return originalPush.call(this, location).catch(err => err)
}
示例:
over