• Welcome to the world's largest Chinese hacker forum

    Welcome to the world's largest Chinese hacker forum, our forum registration is open! You can now register for technical communication with us, this is a free and open to the world of the BBS, we founded the purpose for the study of network security, please don't release business of black/grey, or on the BBS posts, to seek help hacker if violations, we will permanently frozen your IP and account, thank you for your cooperation. Hacker attack and defense cracking or network Security

    business please click here: Creation Security  From CNHACKTEAM

Recommended Posts

安装

cnpm安装axios -保存

在主页。射流研究…配置

//要用"导入"命令加载的某视频剪辑软件构建版本

//(仅运行时或独立)已在webpack.base.conf中用别名设置。

从“vue”导入某视频剪辑软件

从'导入应用程序' 0.5/App '

从'导入路由器。/路由器'

从'导入存储。/商店'

从" axios "导入爱可信

Vue.config.productionTip=false

/* eslint-禁用无-新*/

新Vue({

el: '#app ',

路由器,

店,

组件: { App },

模板: '应用程序/'

})

//axios支持承诺,返回一个承诺,调用内部的分解

axios({

网址: ' http://123。207 .32 .' 32:8000/家庭/多数据',

方法:"get"//默认是得到方式

}).然后(res={

console.log(res)

})

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now