mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
feat: 优化新建数据库的页面
This commit is contained in:
parent
0e8d4eab12
commit
18cdd44d75
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue