mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-13 17:31:07 +03:30
remove Image Correctly
This commit is contained in:
@@ -75,7 +75,7 @@
|
||||
<v-layout>
|
||||
<v-flex v-for="(img, key) in images" :key="key" xs12 sm6 md3>
|
||||
<img :src="img" style="width:100%;" />
|
||||
<button @click="removeImage(key)">Remove image</button>
|
||||
<v-btn class="black" @click.native.stop="removeImage(key)">Remove image</v-btn>
|
||||
</v-flex>
|
||||
</v-layout>
|
||||
</v-flex>
|
||||
@@ -350,8 +350,6 @@ export default {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
this.formData.images = result.data.data.imagesPath;
|
||||
this.images = result.data.data.imagesPath;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user