- 在 createMainImage 函数中添加 loading.value = true,以显示加载状态 - 此修改提高了用户交互体验,避免用户在处理照片时产生等待感
@@ -235,6 +235,7 @@ function takePictures() {
// 获取主图
function createMainImage (file_path){
+ loading.value = true;
clientStore.ipc.removeAllListeners(icpList.takePhoto.createMainImage);
clientStore.ipc.send(icpList.takePhoto.createMainImage,{
file_path:file_path