|
@@ -852,6 +852,10 @@ export default {
|
|
|
console.log(res);
|
|
console.log(res);
|
|
|
if (res.data.url.includes(".gltf")) {
|
|
if (res.data.url.includes(".gltf")) {
|
|
|
this.thisfileurl = res.data.url;
|
|
this.thisfileurl = res.data.url;
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ message: "上传成功",
|
|
|
|
|
+ type: "success",
|
|
|
|
|
+ });
|
|
|
} else {
|
|
} else {
|
|
|
this.$message.error("请上传包含gltf文件的zip压缩包!");
|
|
this.$message.error("请上传包含gltf文件的zip压缩包!");
|
|
|
this.$refs.upload.clearFiles();
|
|
this.$refs.upload.clearFiles();
|