Fix garbled text checks and L0 LLM handling
This commit is contained in:
@@ -360,20 +360,20 @@ function initVectorUI() {
|
||||
};
|
||||
|
||||
$('btn-clear-vectors').onclick = () => {
|
||||
if (confirm('?????????')) postMsg('VECTOR_CLEAR');
|
||||
if (confirm('确定清空所有向量数据?')) postMsg('VECTOR_CLEAR');
|
||||
};
|
||||
|
||||
$('btn-cancel-vectors').onclick = () => postMsg('VECTOR_CANCEL_GENERATE');
|
||||
|
||||
$('btn-export-vectors').onclick = () => {
|
||||
$('btn-export-vectors').disabled = true;
|
||||
$('vector-io-status').textContent = '???...';
|
||||
$('vector-io-status').textContent = '导出中...';
|
||||
postMsg('VECTOR_EXPORT');
|
||||
};
|
||||
|
||||
$('btn-import-vectors').onclick = () => {
|
||||
$('btn-import-vectors').disabled = true;
|
||||
$('vector-io-status').textContent = '???...';
|
||||
$('vector-io-status').textContent = '导入中...';
|
||||
postMsg('VECTOR_IMPORT_PICK');
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user