review:【INFRA】表单构建的代码意见
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user