storage url o'zgartirildi
This commit is contained in:
@@ -111,7 +111,6 @@
|
||||
type="file"
|
||||
name="image"
|
||||
@change="ImageFile($event)"
|
||||
onchange="PreviewImage();"
|
||||
/>
|
||||
<label
|
||||
class="custom-file-label"
|
||||
@@ -811,6 +810,10 @@ export default {
|
||||
|
||||
ImageFile(event) {
|
||||
this.file = event.target.files[0];
|
||||
|
||||
if (this.file) {
|
||||
this.category.image_url = URL.createObjectURL(this.file);
|
||||
}
|
||||
},
|
||||
|
||||
addChar() {
|
||||
|
||||
Reference in New Issue
Block a user