From 18cdd44d753c75416930e22de27d20f8b6b18846 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Wed, 17 Jul 2024 19:09:36 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E6=96=B0=E5=BB=BA?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E7=9A=84=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/stores/modules/model.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/stores/modules/model.ts b/ui/src/stores/modules/model.ts index a68b1e54a..0875e200e 100644 --- a/ui/src/stores/modules/model.ts +++ b/ui/src/stores/modules/model.ts @@ -1,11 +1,11 @@ import { defineStore } from 'pinia' import modelApi from '@/api/model' -import type { modelRequest, Provider } from '@/api/type/model' +import type { ListModelRequest, Provider } from '@/api/type/model' const useModelStore = defineStore({ id: 'model', state: () => ({}), actions: { - async asyncGetModel(data?: modelRequest) { + async asyncGetModel(data?: ListModelRequest) { return new Promise((resolve, reject) => { modelApi .getModel(data)