我的Vue之旅 09 数据数据库表的存储与获取实现 Mysql + Golang( 三 )

var gamelist Gamelist = mysql_vue.Gamelist{}

我的Vue之旅 09 数据数据库表的存储与获取实现 Mysql + Golang

文章插图
Axiosthis.axios.get("queryGamelist").then((response) => {if (!response.data) {this.latestGames.games = [];this.mostFeatureGames.games = [];return;}this.latestGames.games = response.data;this.mostFeatureGames.games = response.data;}).catch((err) => {console.log(err);});
我的Vue之旅 09 数据数据库表的存储与获取实现 Mysql + Golang

文章插图
【我的Vue之旅 09 数据数据库表的存储与获取实现 Mysql + Golang】

经验总结扩展阅读