<!--
 * @Author: Z 1518051043@qq.com
 * @Date: 2025-09-12 13:51:43
 * @LastEditors: Z 1518051043@qq.com
 * @LastEditTime: 2025-12-18 09:14:37
 * @FilePath: \yuanxinPro\src\App.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <div>
    <router-view />
  </div>
</template>

<script setup>
import local from '@/utils/local.js'
import useAppStore from './store/module/app'
const useAppStoreInstance = useAppStore()

// function setGlobaleAutoPlay(value) {
//   local.local.set('globaleAutoPlay', value)
//   useAppStoreInstance.setglobaleAutoPlay(value)
// }
// function setglobalIntervalTime(value) {
//   local.local.set('globalIntervalTime', value)
//   useAppStoreInstance.setglobalIntervalTime(value)
// }
// onMounted(() => {
//   nextTick(() => {
//     // 获取located的内容
//     local.local.get('globalIntervalTime')?useAppStoreInstance.setglobalIntervalTime(local.local.get('globalIntervalTime')):setglobalIntervalTime(3000)
//     local.local.get('globaleAutoPlay')?useAppStoreInstance.setglobaleAutoPlay(local.local.get('globaleAutoPlay')):setGlobaleAutoPlay(true)
//   })
// })
</script>
<style>
* {
  margin: 0;
  padding: 0;
  /* box-sizing: border-box; */
}

</style>
