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

build: publish success
fix: 修复1.23.0 antdv下不显示pagination的bug
client_sync
GitHub Actions Bot 2024-11-13 19:24:23 +00:00
parent abf29bc164
commit 49e65c611f
4 changed files with 14 additions and 9 deletions

View File

@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.23.1](https://github.com/fast-crud/fast-crud/compare/v1.23.0...v1.23.1) (2024-11-13)
### Bug Fixes
* 修复1.23.0 antdv下不显示pagination的bug ([9424dc1](https://github.com/fast-crud/fast-crud/commit/9424dc130505a5557042534acb976400b42ff483))
# [1.23.0](https://github.com/fast-crud/fast-crud/compare/v1.22.5...v1.23.0) (2024-11-11)
### Features

View File

@ -1,6 +1,6 @@
{
"name": "@fast-crud/fs-admin-antdv4",
"version": "1.23.0",
"version": "1.23.1",
"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.23.0",
"@fast-crud/fast-extends": "^1.23.0",
"@fast-crud/ui-antdv4": "^1.23.0",
"@fast-crud/ui-interface": "^1.23.0",
"@fast-crud/fast-crud": "^1.23.1",
"@fast-crud/fast-extends": "^1.23.1",
"@fast-crud/ui-antdv4": "^1.23.1",
"@fast-crud/ui-interface": "^1.23.1",
"@iconify/vue": "^4.1.1",
"@soerenmartius/vue3-clipboard": "^0.1.2",
"ant-design-vue": "^4.1.2",

View File

@ -8,7 +8,7 @@ import { FirstRow } from "./api";
export type FirstContext = {
test?: number;
};
export default async function ({ crudExpose, context }: CreateCrudOptionsProps<FirstRow, FirstContext>): Promise<CreateCrudOptionsRet<FirstRow>> {
export default function ({ crudExpose, context }: CreateCrudOptionsProps<FirstRow, FirstContext>): CreateCrudOptionsRet<FirstRow> {
context.test = 111;
return {
crudOptions: {

View File

@ -14,7 +14,7 @@
<script lang="ts" setup>
import { nextTick, onMounted } from "vue";
import { useFsAsync, useFsRef } from "@fast-crud/fast-crud";
import { useFs, useFsRef } from "@fast-crud/fast-crud";
import createCrudOptions, { FirstContext } from "./crud";
import { FirstRow } from "./api";
import { useTour } from "./use-tour";
@ -22,10 +22,9 @@ import { useTour } from "./use-tour";
const { crudRef, crudBinding, crudExpose, context } = useFsRef();
const { open, current, steps, handleOpen } = useTour();
useFs<FirstRow, FirstContext>({ crudRef, crudBinding, crudExpose, createCrudOptions, context });
//
onMounted(async () => {
const { crudExpose } = await useFsAsync<FirstRow, FirstContext>({ crudRef, crudBinding, createCrudOptions, context });
await crudExpose.doRefresh();
await nextTick();
await nextTick();