MIP.watch('count', function (newVal, oldVal) { fetch('http://www.chazidian.com/kaoshi/ajaxapi/?action=guanzhu&id=83991&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('数据请求失败!') }) })

Have easy access to

查看答案
正确答案:

可方便地使用…

答案解析:

暂无解析

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

Rubber protector

Cigna Insurance Company offers employees the option of placing take-out meal orders with the company chef.

Takeupahobby

Childcarevouchers

InItaly,whenpeopletouchtheireyes,itrepresents:

A、findwomenveryattractive
B、youcan’tfoolme
C、youshouldbealert
热门试题 更多>
相关题库更多>
初级(阅读)
初级(写作)
初级(听力)
初级(口语)