1.nvue调接口与vue不同 nvue只能通过uni.request() 方法进行调接口
官方链接:uni.request(OBJECT) | uni-app官网
2.nvue不支持使用全局变量
3.nvue只能使用flex布局 且使用时 必须搭配flex-direction: row; 否则不生效
4.nvue调接口后如果使用this.变量 记得将this改成that let that=this
1.nvue调接口与vue不同 nvue只能通过uni.request() 方法进行调接口
官方链接:uni.request(OBJECT) | uni-app官网
2.nvue不支持使用全局变量
3.nvue只能使用flex布局 且使用时 必须搭配flex-direction: row; 否则不生效
4.nvue调接口后如果使用this.变量 记得将this改成that let that=this