reactor:utils 挪到 helper 目录下

This commit is contained in:
YunaiV
2025-04-28 22:47:00 +08:00
parent dfe4a33e2d
commit 01adbff523
22 changed files with 172 additions and 170 deletions
+4 -4
View File
@@ -55,7 +55,7 @@
import FileApi from '@/sheep/api/infra/file';
import KeFuApi from '@/sheep/api/promotion/kefu';
import { useWebSocket } from '@/sheep/hooks/useWebSocket';
import { jsonParse } from '@/sheep/util';
import { jsonParse } from '@/sheep/helper/utils';
const sys_navBar = sheep.$platform.navbar;
@@ -105,7 +105,7 @@
}
// 第二次点击关闭
if (chat.showTools && chat.toolsMode === mode){
if (chat.showTools && chat.toolsMode === mode) {
handleToolsClose();
return;
}
@@ -115,10 +115,10 @@
chat.toolsMode = '';
}
// 延迟打开等一下过度效果
setTimeout(()=>{
setTimeout(() => {
chat.toolsMode = mode;
chat.showTools = true;
}, 200)
}, 200);
}
function onShowSelect(mode) {