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

如果只希望在多个页面间共享数据,可以使用( )作用域

A、request,session
B、applicationsession
C、request,application
D、pageContextrequest
查看答案
正确答案:

A

答案解析:

暂无解析

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

下面控件中不能执行鼠标单击事件的是()

A、ImageButton
B、ImageMap
C、Image
D、LinkButton

利用ASP.NET开发的网页,其文件扩展名应命名为______。

A、htm
B、aspx
C、asp
D、无严格限制

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

有以下HTML代码,怎样操作才能向服务器提交数据

A、点击“Button1”
B、点击“Button2”
C、a)和b)都可以
D、以上都不正确

下列运算符中()具有三个操作数。

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