![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue
gufyang
这个作者很懒,什么都没留下…
展开
-
使用axios进行跨域请求,使用Springboot作为后台
使用vue+axios作为前端,springboot作为后台。解决使用axios进行跨域请求的问题:前台代码:后台配置:import org.springframework.context.annotation.Configuration;import org.springframework.web.servlet.config.annotation.CorsRegistry;...原创 2019-10-26 14:37:16 · 605 阅读 · 0 评论 -
Element-ui使用msgbox时,向msgbox组件中传值
在使用vue和element-ui做一个页面,在做数据回显的时候出现了一个问题。有些值需要传入到子组件中。具体办法就是在msgbox选项中添加一个属性。然后在子组件中使用this.$parent.data调用数据就行了<template> <div id="side"> <div id="menu"> <el-but...原创 2019-09-29 18:14:35 · 11647 阅读 · 0 评论