| | |
| | | import waterCenter from './component/waterRight/center.vue'; |
| | | import waterTop from './component/waterRight/top.vue'; |
| | | import CustomDrawer from '/@/components/drawer/CustomDrawer.vue'; |
| | | import { exampleSceneList } from '/@/stores/chatRoom'; |
| | | import { exampleSceneList, hadShowFirstGuide } from '/@/stores/chatRoom'; |
| | | import { accessSessionKey } from '/@/utils/request'; |
| | | import { Local } from '/@/utils/storage'; |
| | | let state = reactive({ |
| | | isShowAdvanceExample: false, |
| | | }); |
| | | const isLoginStatus = ref(!!Local.get(accessSessionKey)); |
| | | const driverObj = driver({ |
| | | showProgress: true, |
| | | allowClose: true, |
| | |
| | | onMounted(() => { |
| | | isFinishPromise = new Promise(async (resolve) => { |
| | | await getSelectListSample(); |
| | | if (isLoginStatus.value) { |
| | | if (!!Local.get(accessSessionKey) && !hadShowFirstGuide.value ) { |
| | | driverObj.drive(); |
| | | hadShowFirstGuide.value = true; |
| | | } |
| | | resolve(true); |
| | | }); |