console移除
This commit is contained in:
@@ -470,7 +470,7 @@ function handleModelChange(modelName: string) {
|
||||
const foundModel = providerGroup.models.find((m: any) => m.model === modelName);
|
||||
if (foundModel) {
|
||||
formData.embeddingModelProvider = foundModel.provider;
|
||||
console.log('选择Embedding模型:', modelName, '提供商:', foundModel.provider);
|
||||
// console.log('选择Embedding模型:', modelName, '提供商:', foundModel.provider);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -488,7 +488,7 @@ function handleRerankModelChange(modelName: string) {
|
||||
const foundModel = providerGroup.models.find((m: any) => m.model === modelName);
|
||||
if (foundModel) {
|
||||
formData.rerankModelProvider = foundModel.provider;
|
||||
console.log('选择Rerank模型:', modelName, '提供商:', foundModel.provider);
|
||||
// console.log('选择Rerank模型:', modelName, '提供商:', foundModel.provider);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -127,8 +127,8 @@ function showCreateDialog() {
|
||||
// 尝试跳转
|
||||
router.push('/article/add')
|
||||
.then(() => {
|
||||
console.log('路由跳转成功!');
|
||||
console.log('跳转后路由:', router.currentRoute.value.fullPath);
|
||||
// console.log('路由跳转成功!');
|
||||
// console.log('跳转后路由:', router.currentRoute.value.fullPath);
|
||||
})
|
||||
.catch(err => {
|
||||
console.error('路由跳转失败:', err);
|
||||
|
||||
@@ -223,10 +223,10 @@ async function loadDeptList() {
|
||||
loading.value = true;
|
||||
const result = await deptApi.getAllDepts();
|
||||
const rawData = result.dataList || [];
|
||||
console.log('原始部门数据:', rawData);
|
||||
// console.log('原始部门数据:', rawData);
|
||||
// 将扁平数据转换为树形结构
|
||||
deptList.value = buildTree(rawData);
|
||||
console.log('转换后的树形数据:', deptList.value);
|
||||
// console.log('转换后的树形数据:', deptList.value);
|
||||
} catch (error) {
|
||||
console.error('加载部门列表失败:', error);
|
||||
ElMessage.error('加载部门列表失败');
|
||||
|
||||
@@ -307,10 +307,10 @@ async function loadMenuList() {
|
||||
loading.value = true;
|
||||
const result = await menuApi.getAllMenuList();
|
||||
const rawData = result.dataList || [];
|
||||
console.log('原始菜单数据:', rawData);
|
||||
// console.log('原始菜单数据:', rawData);
|
||||
// 将扁平数据转换为树形结构
|
||||
menuList.value = buildTree(rawData);
|
||||
console.log('转换后的树形数据:', menuList.value);
|
||||
// console.log('转换后的树形数据:', menuList.value);
|
||||
} catch (error) {
|
||||
console.error('加载菜单列表失败:', error);
|
||||
ElMessage.error('加载菜单列表失败');
|
||||
|
||||
Reference in New Issue
Block a user