找回密码
 立即注册

扫一扫,访问微社区

查看: 6958|回复: 3

[求助] 调试“(中国标准时间) 将被废弃”错误怎么办?

[复制链接]

1

主题

1

回帖

19

金钱

新人求带

积分
0
发表于 2017-6-17 11:49:21 | 显示全部楼层 |阅读模式
问题补充在即速应用里导出的程序,调试时一直显示错误怎么办? 预览没问题。
Sat Jun 17 2017 11:44:23 GMT+0800 (中国标准时间) 关键字保护
WAService.js:7 App's getCurrentPage is write-protected
WAService.js:7 Sat Jun 17 2017 11:44:25 GMT+0800 (中国标准时间) 将被废弃
WAService.js:7 Sat Jun 17 2017 11:44:25 GMT+0800 (中国标准时间) 将被废弃
WAService.js:7 App.getCurrentPage is deprecated, please use getCurrentPages.
VM113:1 Sat Jun 17 2017 11:44:25 GMT+0800 (中国标准时间) WXML Runtime warning
VM113:2 ./pages/page10000/page10000.wxml
VM113:3  Now you can provide attr "wx:key" for a "wx:for" to improve performance.
  3 |   <view class="element album {{data.html_mode}}" style="{{data.style}}">
  4 |     <view class="album-container background-ele clearfix" style="{{data.ul_style}} ">
> 5 |       <view wx:for="{{data.li}}"
    |        ^
  6 |             class="{{item.li_class}}"
  7 |             style="{{item.li_style}}"
  8 |             data-event-params="{{item.eventParams}}"
WAService.js:7 Sat Jun 17 2017 11:44:26 GMT+0800 (中国标准时间) 将被废弃
WAService.js:7 App.getCurrentPage is deprecated, please use getCurrentPages.
WAService.js:7 Sat Jun 17 2017 11:44:26 GMT+0800 (中国标准时间) 将被废弃
WAService.js:7 App.getCurrentPage is deprecated, please use getCurrentPages.

910

主题

1190

回帖

3万

金钱

管理员

论坛管理员

积分
0

突出贡献优秀版主荣誉管理论坛元老

QQ
发表于 2017-6-19 11:24:24 | 显示全部楼层
没有红色!红色!红色感叹号报错即可

0

主题

3

回帖

85

金钱

新人求带

积分
0
发表于 2017-6-19 14:08:44 | 显示全部楼层
我的也是一样的问题,看不懂上面答案,请给一个清晰的解决方法。谢谢

WAService.js:7 Mon Jun 19 2017 13:55:59 GMT+0800 (中国标准时间) 关键字保护
WAService.js:7 Mon Jun 19 2017 13:56:04 GMT+0800 (中国标准时间) 将被废弃
app.js [sm]:442 check login key=====
WAService.js:7 Mon Jun 19 2017 13:56:04 GMT+0800 (中国标准时间) 将被废弃
VM138:1 Mon Jun 19 2017 13:56:04 GMT+0800 (中国标准时间) WXML Runtime warning
WAService.js:7 Mon Jun 19 2017 13:56:05 GMT+0800 (中国标准时间) 将被废弃
WAService.js:7 App.getCurrentPage is deprecated, please use getCurrentPages.
WAService.js:7 Mon Jun 19 2017 13:56:05 GMT+0800 (中国标准时间) 将被废弃
WAService.js:7 App.getCurrentPage is deprecated, please use getCurrentPages.
WAService.js:7 Mon Jun 19 2017 13:57:22 GMT+0800 (中国标准时间) 将被废弃
WAService.js:7 App.getCurrentPage is deprecated, please use getCurrentPages.
WAService.js:7 Mon Jun 19 2017 13:57:22 GMT+0800 (中国标准时间) 将被废弃
WAService.js:7 App.getCurrentPage is deprecated, please use getCurrentPages.
WAService.js:7 Mon Jun 19 2017 13:57:22 GMT+0800 (中国标准时间) 将被废弃
WAService.js:7 App.getCurrentPage is deprecated, please use getCurrentPages.

0

主题

4

回帖

130

金钱

新人求带

积分
0
发表于 2017-6-29 06:38:11 | 显示全部楼层
问题补充在即速应用里导出的程序,调试时一直显示错误怎么办? 预览没问题。
Sat Jun 17 2017 11:44:23 GMT+0800 (中国标准时间) 关键字保护
WAService.js:7 App's getCurrentPage is write-protected
WAService.js:7 Sat Jun 17 2017 11:44:25 GMT+0800 (中国标准时间) 将被废弃
WAService.js:7 Sat Jun 17 2017 11:44:25 GMT+0800 (中国标准时间) 将被废弃
WAService.js:7 App.getCurrentPage is deprecated, please use getCurrentPages.
VM113:1 Sat Jun 17 2017 11:44:25 GMT+0800 (中国标准时间) WXML Runtime warning
VM113:2 ./pages/page10000/page10000.wxml
VM113:3 Now you can provide attr "wx:key" for a "wx:for" to improve performance.
3 |
4 |
> 5 | | ^
6 | class="{{item.li_class}}"
7 | style="{{item.li_style}}"
8 | data-event-params="{{item.eventParams}}"
WAService.js:7 Sat Jun 17 2017 11:44:26 GMT+0800 (中国标准时间) 将被废弃
WAService.js:7 App.getCurrentPage is deprecated, please use getCurrentPages.
WAService.js:7 Sat Jun 17 2017 11:44:26 GMT+0800 (中国标准时间) 将被废弃
WAService.js:7 App.getCurrentPage is deprecated, please use getCurrentPages.
- 本文出自微信小程序开发论坛-咫尺论坛-微信小程序论坛-bbs.zhichiwangluo.com,原文地址:http://bbs.zhichiwangluo.com/for ... B%E9%94%99%E8%AF%AF
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|微信小程序开发|教程|文档|资源汇总_即速论坛 ( 粤ICP备14097199号-1  

GMT+8, 2024-4-25 14:18 , Processed in 0.141892 second(s), 35 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表