feat: 🚀 批量图片排序
This commit is contained in:
@@ -119,7 +119,7 @@ const handleHttpUpload = async (options: UploadRequestOptions) => {
|
||||
const api = props.api ?? uploadImg;
|
||||
|
||||
const result = await api(formData, routerName.value);
|
||||
if (result?.code === 0) {
|
||||
if (result?.data?.code === 0) {
|
||||
const { data } = result;
|
||||
emit("update:imageUrl", data.path);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user