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

你喜欢什么样的老师?

查看答案
正确答案:
答案解析:
上一题
你可能感兴趣的试题

如果在竞选班长你落选了,你会怎么做?

你对大学生谈恋爱的看法。

你为什么要报考高职院校?你为什么选择该专业?

你如何看待别人在公共场合抽烟?

你喜欢什么样的老师?

热门试题 更多>
相关题库更多>
语文
数学
英语
综合素质
​面试