12 2019 档案

摘要:async函数用async作为关键字,try和 catch来处理异常, await接受一个promise函数返回 async list () { try { await api.findjuBarData().then(res => { console.log(res) }) console.log 阅读全文
posted @ 2019-12-16 11:00 格里兹曼 阅读(188) 评论(0) 推荐(0) 编辑
摘要:一.修改分支名 1、本地分支重命名 git branch -m oldName newName 2、将重命名后的分支推送到远程 git push origin newName 3、重新更新所有分支 git fetch 二.删除分支 1、切换到主分支下(master) git checkout mas 阅读全文
posted @ 2019-12-12 10:38 格里兹曼 阅读(1542) 评论(0) 推荐(0) 编辑