12345678910111213141516171819202122232425262728 |
- <template>
- <div id="index">
- <el-row>
- <el-col :span="24" class="main animate__animated animate__backInRight" v-loading="loading">
- <el-col :span="24" class="one">
- <table></table>
- </el-col>
- </el-col>
- </el-row>
- </div>
- </template>
- <script setup>
- import table from './parts/table.vue'
- const data = ref([])
- // 加载中
- const loading = ref(false)
- // 请求
- onMounted(async () => {
- loading.value = true
- loading.value = false
- })
- // provide
- provide('data', data)
- </script>
- <style scoped lang="scss"></style>
|