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

build: publish success
chore:
pull/91/head
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. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. 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) ## [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 **Note:** Version bump only for package @fast-crud/fs-admin-antdv4

View File

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

View File

@ -41,7 +41,7 @@ export default defineComponent({
name: "FormBase", name: "FormBase",
setup() { setup() {
const labelWidthRef = ref(100); const labelWidthRef = ref(100);
const labelLayoutRef = ref(undefined); const labelLayoutRef = ref();
const context = { const context = {
labelWidthRef, labelWidthRef,
labelLayoutRef labelLayoutRef

View File

@ -6,16 +6,17 @@
<script lang="ts"> <script lang="ts">
import { defineComponent, onMounted } from "vue"; 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"; import createCrudOptions from "./crud";
export default defineComponent({ export default defineComponent({
name: "FormInner", name: "FormInner",
setup() { setup() {
const { crudRef, crudBinding, crudExpose, context } = useFsRef(); const { crudRef, crudBinding, crudExpose, context } = useFsRef();
await useFsAsync({ crudBinding, crudRef, crudExpose, context,createCrudOptions });
// //
onMounted(async () => { onMounted(async () => {
await useFsAsync({ crudBinding, crudRef, crudExpose, context, createCrudOptions });
await crudExpose.doRefresh(); await crudExpose.doRefresh();
}); });