Розмір відео: 1280 X 720853 X 480640 X 360
Показувати елементи керування програвачем
Автоматичне відтворення
Автоповтор
sir in upcoming react + Laravel series can we do image upload crud
very very good explain sir
Cool Sir
Error not detected when we submit button with blank data Add Products {{ error[0] }} Name Detail Save import axios from 'axios';export default { name: 'productAdd', data() { return { errorList: '', model: { product: { name: '', detail: '' } } } }, methods: { saveProduct() { var mythis = this; axios.post('localhost:8000/api/products', this.model.product) .then (res => { console.log(res.data) alert(res.data.message); this.model.product = { name: '', detail: '' } this.errorList = '' }) .catch(function (error) { if (error.response) { if(error.response.status == 422) { mythis.errorList = error.response.data.errors; } } else if (error.request) { console.log(error.request); } else { console.log('Error', error.message); } }); } } }
What is that extension you have installed
check this link
vue devtool
Nice
source kode please
no se ve nada de nada el video corrompido
increase the video quality
sir in upcoming react + Laravel series can we do image upload crud
very very good explain sir
Cool Sir
Error not detected when we submit button with blank data
Add Products
{{ error[0] }}
Name
Detail
Save
import axios from 'axios';
export default {
name: 'productAdd',
data() {
return {
errorList: '',
model: {
product: {
name: '',
detail: ''
}
}
}
},
methods: {
saveProduct()
{
var mythis = this;
axios.post('localhost:8000/api/products', this.model.product)
.then (res => {
console.log(res.data)
alert(res.data.message);
this.model.product = {
name: '',
detail: ''
}
this.errorList = ''
})
.catch(function (error) {
if (error.response)
{
if(error.response.status == 422)
{
mythis.errorList = error.response.data.errors;
}
}
else if (error.request)
{
console.log(error.request);
}
else
{
console.log('Error', error.message);
}
});
}
}
}
What is that extension you have installed
check this link
vue devtool
Nice
source kode please
no se ve nada de nada el video corrompido
increase the video quality