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

在 javaScrpt 中 window对象的( )方法用于打开一个新窗口。

A、openWindow()
B、window()
C、open()
D、close()
查看答案
正确答案:

C

答案解析:

暂无解析

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

在CSS中,设置让超级链接没有下划线的选项是_________。

A、a{decoration:nounderline}
B、a{text-decoration:none}
C、a{underline:none}
D、a{text-decoration:nounderline}

下列不属于动态网页格式的是______。

A、ASP
B、JSP
C、ASPX
D、VBS

下面协议中用于在Web浏览器和服务器之间传输Web文档的是______。

A、NFS
B、FTP
C、HTTP
D、DNS

下面哪项是错误的设置Bean属性值的方法。()

A、
B、
C、
D、

以下哪个不是标记中合法的TARGET属性值

A、_parent
B、_self
C、_empty
D、_top
热门试题 更多>
相关题库更多>
公共基础
Python语言程序设计
MS Office高级应用
Web程序设计
MySQL数据库程序设计