pc-master #268
@ -188,9 +188,14 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
|
||||
} else {
|
||||
|
||||
this.$refs.fileInput.value = "";
|
||||
this.$message.error(res.data.msg);
|
||||
}
|
||||
})
|
||||
}).catch((err) => {
|
||||
this.loading.close()
|
||||
this.$refs.fileInput.value = "";
|
||||
this.$message.error("插入图片失败");
|
||||
});
|
||||
};
|
||||
reader.readAsArrayBuffer(file);
|
||||
|
||||
|
@ -704,9 +704,14 @@ changeAddModel3(){
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
this.$refs.fileInput1.value = '';
|
||||
this.$message.error(res.data.msg);
|
||||
}
|
||||
})
|
||||
}).catch((err) => {
|
||||
this.loading.close()
|
||||
this.$refs.fileInput1.value = '';
|
||||
this.$message.error("插入图片失败");
|
||||
});
|
||||
};
|
||||
reader.readAsArrayBuffer(file);
|
||||
|
||||
|
@ -375,8 +375,13 @@ export default {
|
||||
this.nowData1.hls = res.data.msg;
|
||||
this.$refs.fileInput1.value = "";
|
||||
} else {
|
||||
this.$refs.fileInput1.value = "";
|
||||
this.$message.error(res.data.msg);
|
||||
}
|
||||
}).catch((err) => {
|
||||
this.loading.close()
|
||||
this.$refs.fileInput1.value = "";
|
||||
this.$message.error("插入图片失败");
|
||||
});
|
||||
};
|
||||
reader.readAsArrayBuffer(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("插入图片失败");
|
||||
});
|
||||
};
|
||||
|
@ -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("插入图片失败");
|
||||
});
|
||||
};
|
||||
|
@ -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("插入图片失败");
|
||||
});
|
||||
};
|
||||
|
@ -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("插入图片失败");
|
||||
});
|
||||
};
|
||||
|
@ -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("插入图片失败");
|
||||
});
|
||||
|
@ -247,6 +247,8 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -135,6 +135,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -169,6 +169,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -150,6 +150,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -177,6 +177,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -133,6 +133,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -294,6 +294,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -153,6 +153,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -153,6 +153,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -161,6 +161,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -229,6 +229,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -242,6 +242,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -149,6 +149,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -255,6 +255,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -229,6 +229,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -229,6 +229,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -203,6 +203,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -149,6 +149,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -249,6 +249,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user