fix: 🐛 修复CURD组件eslint警告

This commit is contained in:
超凡
2025-04-21 23:21:49 +08:00
parent 4b1614952b
commit 8b03544120
4 changed files with 12 additions and 12 deletions

View File

@@ -18,7 +18,7 @@ function usePage() {
contentRef.value?.fetchPageData({ ...queryParams, ...filterParams }, true);
}
// 新增
function handleAddClick(RefImpl?: Ref<PageContentInstance>) {
function handleAddClick(RefImpl?: Ref<PageModalInstance>) {
if (RefImpl) {
RefImpl?.value.setModalVisible();
RefImpl?.value.handleDisabled(false);
@@ -31,7 +31,7 @@ function usePage() {
async function handleEditClick(
row: IObject,
callback?: (result?: IObject) => IObject,
RefImpl?: Ref<PageContentInstance>
RefImpl?: Ref<PageModalInstance>
) {
if (RefImpl) {
RefImpl.value?.setModalVisible();
@@ -49,7 +49,7 @@ function usePage() {
async function handleViewClick(
row: IObject,
callback?: (result?: IObject) => IObject,
RefImpl?: Ref<PageContentInstance>
RefImpl?: Ref<PageModalInstance>
) {
if (RefImpl) {
RefImpl.value?.setModalVisible();