欢迎加QQ交流:
2
0
2
3

vue3 computed 用法

<script setup>
import { useStore } from 'vuex'
import { computed } from 'vue'
  let store = useStore()
  let sel = computed(() => store.state.login_index)
</script>

 

posted @ 2022-12-09 14:41  常安·  阅读(49)  评论(0编辑  收藏  举报