|
|
@@ -0,0 +1,31 @@
|
|
|
+<template>
|
|
|
+ <el-card style="width: 95%">
|
|
|
+ <div class="df">
|
|
|
+ <el-card v-for="item in data"></el-card>
|
|
|
+ </div>
|
|
|
+ </el-card>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script setup>
|
|
|
+import { reactive, ref, onMounted } from "vue";
|
|
|
+import { AnonymousLogin, tcb } from "apis/cloudLogin";
|
|
|
+import _ from "lodash";
|
|
|
+import { ElMessage, ElMessageBox } from "element-plus";
|
|
|
+import store from "../../store";
|
|
|
+const db = tcb.database();
|
|
|
+const p = db.collection("huihenduo_projects");
|
|
|
+const __ = db.command;
|
|
|
+let data = ref([]);
|
|
|
+
|
|
|
+async function init() {
|
|
|
+ let res = await p.get();
|
|
|
+ console.log(res);
|
|
|
+}
|
|
|
+
|
|
|
+onMounted(() => {
|
|
|
+ init();
|
|
|
+});
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scoped>
|
|
|
+</style>
|