|
|
@@ -288,6 +288,9 @@ export default {
|
|
|
return addCollectionAnswerBatch(formData).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
localStorage.setItem('getRequestFlage', 'true');
|
|
|
+ if (this.$refs.taskPhoto && this.$refs.taskPhoto[0]) {
|
|
|
+ this.$refs.taskPhoto[0].imgArr = [];
|
|
|
+ }
|
|
|
this.$router.go(-1);
|
|
|
} else {
|
|
|
this.$toast('提交失败,请重试');
|