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

build: publish success
chore:
client_sync
GitHub Actions Bot 2024-11-11 19:23:56 +00:00
parent 08854e0ab9
commit abf29bc164
4 changed files with 19 additions and 8 deletions

View File

@ -3,6 +3,16 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.23.0](https://github.com/fast-crud/fast-crud/compare/v1.22.5...v1.23.0) (2024-11-11)
### Features
* 示例全面改成useFsAsync ([aa848a9](https://github.com/fast-crud/fast-crud/commit/aa848a9530af831247077620fa3ee0f605c19009))
### Performance Improvements
* 示例改成useFsAsync ([f7fac52](https://github.com/fast-crud/fast-crud/commit/f7fac52fcfaa4703bfebd8259007b235401b8357))
## [1.22.5](https://github.com/fast-crud/fast-crud/compare/v1.22.4...v1.22.5) (2024-11-04)
**Note:** Version bump only for package @fast-crud/fs-admin-antdv4

View File

@ -1,6 +1,6 @@
{
"name": "@fast-crud/fs-admin-antdv4",
"version": "1.22.5",
"version": "1.23.0",
"private": true,
"scripts": {
"dev": "vite",
@ -26,10 +26,10 @@
"@ant-design/icons-vue": "^7.0.1",
"@aws-sdk/client-s3": "^3.535.0",
"@aws-sdk/s3-request-presigner": "^3.535.0",
"@fast-crud/fast-crud": "^1.22.5",
"@fast-crud/fast-extends": "^1.22.5",
"@fast-crud/ui-antdv4": "^1.22.5",
"@fast-crud/ui-interface": "^1.22.5",
"@fast-crud/fast-crud": "^1.23.0",
"@fast-crud/fast-extends": "^1.23.0",
"@fast-crud/ui-antdv4": "^1.23.0",
"@fast-crud/ui-interface": "^1.23.0",
"@iconify/vue": "^4.1.1",
"@soerenmartius/vue3-clipboard": "^0.1.2",
"ant-design-vue": "^4.1.2",

View File

@ -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

View File

@ -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();
});