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

””之间声明的变量在部分JSP页面内有效。

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

错误

答案解析:

暂无解析

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

使用JavaScript语言中Document的()方法可以在页面上输出字符。

A、documentwrite()
B、documentprint()
C、documentout()
D、documentflush()

Web服务器控件不包括()

A、Wizard
B、Input
C、AdRotator
D、Calender

任何一个Web服务目录下的JSP页面都可以通过表单或超链接访问某个servlet。

在JDBC连接数据库编程应用开发中,一般会产生出下面的()的异常。

A、FileException
B、SQLException
C、IOException
D、DataException

在JavaScript中,增加单行注释的选项是_________。

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