review:【INFRA】表单构建的代码意见

This commit is contained in:
YunaiV
2025-04-25 23:02:16 +08:00
parent 8e1c75833c
commit bf75f0f789
13 changed files with 21 additions and 45 deletions

View File

@@ -157,11 +157,10 @@ const initOptions = computed((): InitOptions => {
const { httpRequest } = useUpload();
httpRequest(file)
.then((url) => {
// console.log('tinymce 上传图片成功:', url);
resolve(url);
})
.catch((error) => {
// console.error('tinymce 上传图片失败:', error);
console.error('tinymce 上传图片失败:', error);
reject(error.message);
});
});