| 12345678910111213141516171819 |
- <script setup lang='ts'>
- import { ref, onMounted, watchEffect } from 'vue'
- import Loading from '@/components/loading.uvue'
- import { router } from '@/.cool'
- import Back from '@/components/back.uvue'
- const webviewSrc = ref('')
- var isLoading = ref(true)
- function handleLoad() {
- isLoading.value = false
- }
- </script>
- <template>
- <Loading v-show="isLoading" />
- <web-view src="https://oss.xiaoxiongcode.com/scratch-gui/index.html" class="w-full h-full"
- @load="handleLoad"></web-view>
- </template>
- <style lang="less" scoped></style>
|