|
@@ -51,7 +51,7 @@ export const columns: BasicColumn[] = [
|
|
title: '供应商',
|
|
title: '供应商',
|
|
key: 'provider',
|
|
key: 'provider',
|
|
align: 'center',
|
|
align: 'center',
|
|
- width: '80',
|
|
|
|
|
|
+ width: '120',
|
|
render(row) {
|
|
render(row) {
|
|
return h(
|
|
return h(
|
|
NTag,
|
|
NTag,
|
|
@@ -189,7 +189,7 @@ export function getSchemas(provider: string) {
|
|
const dimension: any = {
|
|
const dimension: any = {
|
|
field: 'dimension',
|
|
field: 'dimension',
|
|
label: '向量纬度',
|
|
label: '向量纬度',
|
|
- component: 'NInputNumber',
|
|
|
|
|
|
+ component: 'NSelect',
|
|
defaultValue: 1024,
|
|
defaultValue: 1024,
|
|
componentProps: {
|
|
componentProps: {
|
|
placeholder: '请输入向量纬度',
|
|
placeholder: '请输入向量纬度',
|
|
@@ -228,7 +228,7 @@ export function getSchemas(provider: string) {
|
|
{
|
|
{
|
|
field: 'databaseName',
|
|
field: 'databaseName',
|
|
label: '数据库名',
|
|
label: '数据库名',
|
|
- component: 'NInputNumber',
|
|
|
|
|
|
+ component: 'NInput',
|
|
componentProps: {
|
|
componentProps: {
|
|
placeholder: '请输入数据库名',
|
|
placeholder: '请输入数据库名',
|
|
},
|
|
},
|