opt: 优化前端登录判断逻辑

This commit is contained in:
RockYang
2023-06-25 09:46:23 +08:00
parent 0b6940b121
commit d971e95900
5 changed files with 26 additions and 25 deletions

View File

@@ -17,12 +17,14 @@
<script setup>
import {ref} from "vue";
const active = ref('home');
const active = ref('home')
const theme = ref("light")
const onChange = (index) => {
console.log(index)
// showToast(`标签 ${index}`);
}
</script>
<style lang="stylus">