mirror of https://github.com/certd/certd
🔱: [client] sync upgrade with 3 commits [trident-sync]
build: publish success fix: 修复1.23.0 antdv下不显示pagination的bugpull/91/head
parent
abf29bc164
commit
49e65c611f
|
@ -3,6 +3,12 @@
|
||||||
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.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)
|
# [1.23.0](https://github.com/fast-crud/fast-crud/compare/v1.22.5...v1.23.0) (2024-11-11)
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@fast-crud/fs-admin-antdv4",
|
"name": "@fast-crud/fs-admin-antdv4",
|
||||||
"version": "1.23.0",
|
"version": "1.23.1",
|
||||||
"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.23.0",
|
"@fast-crud/fast-crud": "^1.23.1",
|
||||||
"@fast-crud/fast-extends": "^1.23.0",
|
"@fast-crud/fast-extends": "^1.23.1",
|
||||||
"@fast-crud/ui-antdv4": "^1.23.0",
|
"@fast-crud/ui-antdv4": "^1.23.1",
|
||||||
"@fast-crud/ui-interface": "^1.23.0",
|
"@fast-crud/ui-interface": "^1.23.1",
|
||||||
"@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",
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { FirstRow } from "./api";
|
||||||
export type FirstContext = {
|
export type FirstContext = {
|
||||||
test?: number;
|
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;
|
context.test = 111;
|
||||||
return {
|
return {
|
||||||
crudOptions: {
|
crudOptions: {
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { nextTick, onMounted } from "vue";
|
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 createCrudOptions, { FirstContext } from "./crud";
|
||||||
import { FirstRow } from "./api";
|
import { FirstRow } from "./api";
|
||||||
import { useTour } from "./use-tour";
|
import { useTour } from "./use-tour";
|
||||||
|
@ -22,10 +22,9 @@ import { useTour } from "./use-tour";
|
||||||
const { crudRef, crudBinding, crudExpose, context } = useFsRef();
|
const { crudRef, crudBinding, crudExpose, context } = useFsRef();
|
||||||
|
|
||||||
const { open, current, steps, handleOpen } = useTour();
|
const { open, current, steps, handleOpen } = useTour();
|
||||||
|
useFs<FirstRow, FirstContext>({ crudRef, crudBinding, crudExpose, createCrudOptions, context });
|
||||||
// 页面打开后获取列表数据
|
// 页面打开后获取列表数据
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
const { crudExpose } = await useFsAsync<FirstRow, FirstContext>({ crudRef, crudBinding, createCrudOptions, context });
|
|
||||||
await crudExpose.doRefresh();
|
await crudExpose.doRefresh();
|
||||||
await nextTick();
|
await nextTick();
|
||||||
await nextTick();
|
await nextTick();
|
||||||
|
|
Loading…
Reference in New Issue