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

不能做switch()的参数类型是:

查看答案
正确答案:

switch的参数不能为实型。

答案解析:

暂无解析

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

帧中继LMI一般占用哪几个DLCI(多)()

A、0
B、16
C、1007
D、1023

OSI代表()

A、OrganizationforStandardsInstitute
B、OrganizationforInternetStandards
C、OpenStandardsInstitute
D、OpenSystemsInterconnection

X.25协议提供给用户的可用的逻辑信道最多为___条()

A、16
B、32
C、4095
D、4096

什么函数不能声明为虚函数?

写出floatx与“零值”比较的if语句。

热门试题 更多>
相关题库更多>
华为网络工程师
面试题
笔试题