mirror of
https://github.com/certd/certd.git
synced 2026-07-29 16:47:36 +08:00
29 lines
662 B
Vue
29 lines
662 B
Vue
<template>
|
|
<fs-page class="page-cert">
|
|
<template #header>
|
|
<div class="title">我的订单</div>
|
|
</template>
|
|
<fs-crud ref="crudRef" v-bind="crudBinding" />
|
|
</fs-page>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { onActivated, onMounted } from "vue";
|
|
import { useFs } from "@fast-crud/fast-crud";
|
|
import createCrudOptions from "./crud";
|
|
|
|
defineOptions({
|
|
name: "MyTrade",
|
|
});
|
|
const { crudBinding, crudRef, crudExpose } = useFs({ createCrudOptions });
|
|
|
|
// 页面打开后获取列表数据
|
|
onMounted(() => {
|
|
// crudExpose.doRefresh();
|
|
});
|
|
onActivated(async () => {
|
|
await crudExpose.doRefresh();
|
|
});
|
|
</script>
|
|
<style lang="less"></style>
|