mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
🔱: [client] sync upgrade with 3 commits [trident-sync]
build: publish success chore:
This commit is contained in:
@@ -41,7 +41,7 @@ export default defineComponent({
|
||||
name: "FormBase",
|
||||
setup() {
|
||||
const labelWidthRef = ref(100);
|
||||
const labelLayoutRef = ref(undefined);
|
||||
const labelLayoutRef = ref();
|
||||
const context = {
|
||||
labelWidthRef,
|
||||
labelLayoutRef
|
||||
|
||||
@@ -6,16 +6,17 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent, onMounted } from "vue";
|
||||
import { useFsAsync,useFsRef } from "@fast-crud/fast-crud";
|
||||
import { useFsAsync, useFsRef } from "@fast-crud/fast-crud";
|
||||
import createCrudOptions from "./crud";
|
||||
|
||||
export default defineComponent({
|
||||
name: "FormInner",
|
||||
setup() {
|
||||
const { crudRef, crudBinding, crudExpose, context } = useFsRef();
|
||||
await useFsAsync({ crudBinding, crudRef, crudExpose, context,createCrudOptions });
|
||||
|
||||
// 页面打开后获取列表数据
|
||||
onMounted(async () => {
|
||||
await useFsAsync({ crudBinding, crudRef, crudExpose, context, createCrudOptions });
|
||||
await crudExpose.doRefresh();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user