vue笔记

1:Vue 安装vuex和使用详解

https://blog.csdn.net/u014641168/article/details/126137761

 

2: 设置接口返回400报错时,进行处理。(弹出弹框)

if (res.code !== 200) {

                            this.$alert(res.msg, {
                                showClose: false
                            })
                            return
                        }

 

posted @ 2023-02-16 09:19  归叶草  阅读(17)  评论(0)    收藏  举报