瀏覽代碼

fix 修复 拼写错误

疯狂的狮子Li 4 月之前
父節點
當前提交
74c29dc13e
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/layout/components/AppMain.vue

+ 3 - 3
src/layout/components/AppMain.vue

@@ -24,16 +24,16 @@ const route = useRoute();
 const tagsViewStore = useTagsViewStore();
 
 // 随机动画集合
-const animante = ref<string>('');
+const animate = ref<string>('');
 const animationEnable = ref(useSettingsStore().animationEnable);
 watch(
   () => useSettingsStore().animationEnable,
   (val: boolean) => {
     animationEnable.value = val;
     if (val) {
-      animante.value = proxy?.animate.animateList[Math.round(Math.random() * proxy?.animate.animateList.length)] as string;
+      animate.value = proxy?.animate.animateList[Math.round(Math.random() * proxy?.animate.animateList.length)] as string;
     } else {
-      animante.value = proxy?.animate.defaultAnimate as string;
+      animate.value = proxy?.animate.defaultAnimate as string;
     }
   },
   { immediate: true }