Jelajahi Sumber

fix(ui): 移除logo点击事件的控制台日志

jinmao88 4 hari lalu
induk
melakukan
26181485e5
2 mengubah file dengan 2 tambahan dan 6 penghapusan
  1. 1 3
      playground/src/layouts/auth.vue
  2. 1 3
      playground/src/layouts/basic.vue

+ 1 - 3
playground/src/layouts/auth.vue

@@ -8,9 +8,7 @@ import { $t } from '#/locales';
 
 const appName = computed(() => preferences.app.name);
 const logo = computed(() => preferences.logo.source);
-const clickLogo = () => {
-  console.log('click logo');
-};
+const clickLogo = () => {};
 </script>
 
 <template>

+ 1 - 3
playground/src/layouts/basic.vue

@@ -106,9 +106,7 @@ function handleMakeAll() {
   notifications.value.forEach((item) => (item.isRead = true));
 }
 
-function handleClickLogo() {
-  console.log('=>(basic.vue:111) handleClickLogo');
-}
+function handleClickLogo() {}
 
 watch(
   () => preferences.app.watermark,