Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <img :src="imageuser">
- export default{
- data(){
- return{
- lists:{},
- imageuser:"",
- }
- },
- mounted(){
- axios.post('admin/getDataAdmin',this.$data)
- .then((response)=> this.lists = response.data)
- .then((response)=>this.imageuser="source/admin/assets/img/"+response.data.image)
- .catch((error)=> this.errors = error.response.data.errors);
- },
Add Comment
Please, Sign In to add comment