🔱: [client] sync upgrade with 3 commits [trident-sync]

build: publish success
chore:
This commit is contained in:
GitHub Actions Bot
2024-11-11 19:23:56 +00:00
parent 08854e0ab9
commit abf29bc164
4 changed files with 19 additions and 8 deletions
@@ -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();
});