hookehuyr

fix

1 <!-- 1 <!--
2 * @Date: 2022-07-18 10:22:22 2 * @Date: 2022-07-18 10:22:22
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2024-11-27 16:23:08 4 + * @LastEditTime: 2024-12-23 18:02:25
5 * @FilePath: /data-table/src/views/index.vue 5 * @FilePath: /data-table/src/views/index.vue
6 * @Description: 首页 6 * @Description: 首页
7 --> 7 -->
...@@ -536,7 +536,7 @@ onMounted(async () => { ...@@ -536,7 +536,7 @@ onMounted(async () => {
536 }); 536 });
537 }) 537 })
538 .catch(() => { // 删除cookie 538 .catch(() => { // 删除cookie
539 - Cookies.remove(to.query.code); 539 + Cookies.remove($route.query.code);
540 }); 540 });
541 } 541 }
542 } 542 }
......