pc-master #268

Merged
xiaomeng merged 3 commits from pc-master into portal 2025-07-31 03:11:14 +00:00
5 changed files with 10 additions and 0 deletions
Showing only changes of commit b1f065de8f - Show all commits

View File

@ -275,9 +275,11 @@ export default {
this.$refs.fileInput.value = "";
} else {
this.$message.error(res.data.msg);
this.$refs.fileInput.value = "";
}
}).catch((err) => {
this.loading = false;
this.$refs.fileInput.value = "";
this.$message.error("插入图片失败");
});
};

View File

@ -287,9 +287,11 @@ detailedIntroductionTextEnTitle:'',
this.$refs.fileInput.value = "";
} else {
this.$message.error(res.data.msg);
this.$refs.fileInput.value = "";
}
}).catch((err) => {
this.loading = false;
this.$refs.fileInput.value = "";
this.$message.error("插入图片失败");
});
};

View File

@ -265,9 +265,11 @@ detailedIntroductionTextEnTitle:'',
this.$refs.fileInput.value = "";
} else {
this.$message.error(res.data.msg);
this.$refs.fileInput.value = "";
}
}).catch((err) => {
this.loading = false;
this.$refs.fileInput.value = "";
this.$message.error("插入图片失败");
});
};

View File

@ -453,9 +453,11 @@ export default {
this.$refs.fileInput.value = "";
} else {
this.$message.error(res.data.msg);
this.$refs.fileInput.value = "";
}
}).catch((err) => {
this.loading = false;
this.$refs.fileInput.value = "";
this.$message.error("插入图片失败");
});
};

View File

@ -590,8 +590,10 @@ productId: "",
this.$refs.fileInput1.value = "";
} else {
this.$message.error(res.data.msg);
this.$refs.fileInput.value = "";
}
}).catch((err) => {
this.$refs.fileInput.value = "";
this.loading = false;
this.$message.error("插入图片失败");
});