Merge pull request #265 from 1Panel-dev/pr@main@perf-search_mode

perf: 优化检索模式参数设置
This commit is contained in:
wangdan-fit2cloud 2024-04-26 02:17:48 -07:00 committed by GitHub
commit d34ebe5971
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@
<el-input-number
v-model="form.similarity"
:min="0"
:max="1"
:max="form.search_mode === 'blend' ? 2 : 1"
:precision="3"
:step="0.1"
controls-position="right"

View File

@ -130,7 +130,7 @@
<el-input-number
v-model="cloneForm.similarity"
:min="0"
:max="1"
:max="cloneForm.search_mode === 'blend' ? 2 : 1"
:precision="3"
:step="0.1"
controls-position="right"