MIP.watch('count', function (newVal, oldVal) { fetch('http://www.chazidian.com/kaoshi/ajaxapi/?action=guanzhu&id=124248&type=2') .then(function (res) { var follows2 = MIP.getData('follows') if(follows2==1){ MIP.setData({ follows:2, title:'收藏' }) } if(follows2==2){ console.log(2) MIP.setData({ follows:1, title:'已收藏' }) } }) .catch(function (err) { console.log('数据请求失败!') }) })

代码审查工作属于静态测试。

1、正确
2、错误
查看答案
正确答案:

正确

答案解析:

暂无解析

上一题
你可能感兴趣的试题

程控交换机硬件可以分成()部分和控制部分

在三角形相图上,只能求出萃取相和萃余相的组成,不能求出萃取液和萃余液的组成

万兆以太网采用【】作为传输介质。

早期网络操作系统支持多硬件平台

可以采用平板凝集实验诊断鸡毒支原体病。

热门试题 更多>
相关题库更多>
网络技术
数据库
信息安全技术
软件测试技术