柠檬果然酸

关注

vue案例

柠檬果然酸

关注

阅读 43

2022-04-14

 var a
        let id2=100
        let url2="http://localhost:8080/axios/findUserById?id="+id2
        async function getdata(){
            await axios.get(url2)
            .then(promise=>{
               console.log(promise.data.id)
               this.a=promise.data.id
                alert(a)
            })
        }

相关推荐

月半小夜曲_

Vue案例

月半小夜曲_ 45 0 0

沐之轻语

Vue 基础案例

沐之轻语 49 0 0

_铁马冰河_

vue基础案例

_铁马冰河_ 62 0 0

他说Python

Vue TodoList案例

他说Python 36 0 0

东言肆语

Vue 搜索案例:gitHub 用户搜索案例

东言肆语 49 0 0

春意暖洋洋

Vue 2 TodoList 案例

春意暖洋洋 29 0 0

ZGtheGreat

Vue ——07、Vue + ElementUI—— 小demo案例

ZGtheGreat 77 0 0

鱼满舱

Vue46 TodoList案例

鱼满舱 5 0 0

艾米吖

【vue】记事本案例

艾米吖 25 0 0

吓死我了_1799

Vue 监视属性-天气案例

吓死我了_1799 70 0 0

精彩评论(0)

0 0 举报