- 鼠标点在调试器时,某些快捷键没用了?
比如这些 ctrl shit i ctrl shit t ctrl shit d ctrl shit m 体验是真的很差
2020-05-29 - createInnerAudioContext 在真机上播放录音,全不正常播。?
开发工具正常, ios 播放无声,退出小程序就能播 安卓像有电流声 嗒嗒嗒的 而且不会暂停,似乎监听不到ended事件; 另外真机安卓aac格式录音,返回m4a 代码片段 https://developers.weixin.qq.com/s/YOz4r4mT7Fho
2020-05-03 - 贴一下今天的前端日志,有几个问题我不知该如何解决,希望收取点建议
[2019-08-12 10:47:03] Warning: 内存占用过高 Device: Redmi 4X Android 7.1.2 [2019-08-12 10:51:02] thirdScriptError Object.getOwnPropertyDescriptors is not a function. (In 'Object.getOwnPropertyDescriptors(e)', 'Object.getOwnPropertyDescriptors' is undefined);at App lifeCycleMethod onLaunch function r@https://usr/app-service.js:1569:753 exports@https://usr/app-service.js:1545:529 exports@https://usr/app-service.js:1539:1264 onLaunch@https://usr/app-service.js:1575:285 https://lib/WASubContext.js:1:1233414 [native code] https://lib/WASubContext.js:1:1233979 pe@https://lib/WASubContext.js:1:1234047 https://lib/WASubContext.js:1:1234398 https://lib/WASubContext.js:1:1221455 https://usr/app-service.js:1575:241 require@https://lib/WASubContext.js:1:1266802 global code@https://usr/app-service.js:1576:17 [native code] evaluateScriptFile@https://lib/WAService.js:1:12227 value@https://lib/WAService.js:1:111519 https://lib/WAService.js:1:113058 https://lib/WAService.js:1:108991 https://lib/WAService.js:1:118852 https://lib/WAService.js:1:117836 forEach@[native code] https://lib/WAService.js:1:117800 https://lib/WAService.js:1:118852 m@https://lib/WAService.js:1:1827 global code [2019-08-12 10:51:02] thirdScriptError TypeError line:1584,column:1051,TypeError: undefined is not an object (evaluating 'e.$store.state') Stack:https://usr/app-service.js:1584:1051 require@https://lib/WASubContext.js:1:1266802 global code@https://usr/app-service.js:1585:17 [native code] evaluateScriptFile@https://lib/WAService.js:1:12227 value@https://lib/WAService.js:1:111519 https://lib/WAService.js:1:113058 https://lib/WAService.js:1:108991 https://lib/WAService.js:1:118852 https://lib/WAService.js:1:117836 forEach@[native code] https://lib/WAService.js:1:117800 https://lib/WAService.js:1:118852 m@https://lib/WAService.js:1:1827 global code [2019-08-12 10:56:28] Warning: 内存占用过高 Device: OPPO A57t Android 6.0.1 [2019-08-12 11:03:48] Warning: 内存占用过高 Device: OPPO A57 Android 6.0.1 [2019-08-12 11:05:55] Warning: 内存占用过高 Device: T106 Android 8.1 [2019-08-12 11:06:07] Warning: 内存占用过高 Device: T106 Android 8.1 [2019-08-12 11:07:11] Warning: 内存占用过高 Device: Redmi 6A Android 8.1.0 [2019-08-12 11:07:25] Warning: 内存占用过高 Device: Redmi 6A Android 8.1.0 [2019-08-12 11:07:25] Warning: 内存占用过高 Device: Redmi 6A Android 8.1.0 [2019-08-12 11:07:27] Warning: 内存占用过高 Device: T106 Android 8.1 [2019-08-12 11:08:06] Warning: 内存占用过高 Device: T106 Android 8.1 [2019-08-12 11:08:26] Warning: 内存占用过高 Device: T106 Android 8.1 [2019-08-12 11:09:13] Warning: 内存占用过高 Device: T106 Android 8.1 [2019-08-12 11:09:14] Warning: 内存占用过高 Device: vivo X9s Plus L Android 8.1.0 [2019-08-12 11:09:53] Warning: 内存占用过高 Device: T106 Android 8.1
2019-08-12 - picker date模式不能选择今天以后的日期,出现1900 - 1 - 01
[代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]'picker-container'[代码][代码]>[代码] [代码] [代码][代码]<[代码][代码]picker[代码] [代码]mode[代码][代码]=[代码][代码]'date'[代码] [代码]value[代码][代码]=[代码][代码]'{{ picker.startDate }}'[代码] [代码]start[代码][代码]=[代码][代码]'{{ startLimit }}'[代码] [代码]end[代码][代码]=[代码][代码]'{{ picker.endDate }}'[代码] [代码]bindchange[代码][代码]=[代码][代码]'getPickerValue'[代码] [代码]data-key[代码][代码]=[代码][代码]'picker.startDate'[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]'label fs-32 c-gray'[代码][代码]><[代码][代码]text[代码][代码]>开始日期</[代码][代码]text[代码][代码]> {{ picker.startDate }}</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]picker[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]picker[代码] [代码]mode[代码][代码]=[代码][代码]'date'[代码] [代码]value[代码][代码]=[代码][代码]'{{ picker.endDate }}'[代码] [代码]start[代码][代码]=[代码][代码]'{{ picker.startDate }}'[代码] [代码]bindchange[代码][代码]=[代码][代码]'getPickerValue'[代码] [代码]data-key[代码][代码]=[代码][代码]'picker.endDate'[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]'label fs-32 c-gray'[代码][代码]><[代码][代码]text[代码][代码]>结束日期</[代码][代码]text[代码][代码]> {{ picker.endDate }}</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]picker[代码][代码]>[代码][代码]</[代码][代码]view[代码][代码]>[代码][代码]const miment = require([代码][代码]'miment'[代码][代码])[代码] [代码]Page({[代码][代码] [代码][代码]data: {[代码][代码] [代码][代码]picker: {[代码][代码] [代码][代码]startLimit: [代码][代码]""[代码][代码],[代码][代码] [代码][代码]startDate: [代码][代码]""[代码][代码],[代码][代码] [代码][代码]endDate: [代码][代码]""[代码][代码],[代码][代码] [代码][代码]realEndDate: [代码][代码]""[代码][代码],[代码][代码] [代码][代码]}[代码][代码] [代码][代码]},[代码] [代码] [代码][代码]onload() {[代码][代码] [代码][代码]this[代码][代码].initPicker()[代码][代码] [代码][代码]},[代码] [代码] [代码][代码]initPicker() {[代码][代码] [代码][代码]const FORMATER = [代码][代码]'YYYY-MM-DD'[代码][代码] [代码][代码]const today = [代码][代码]new[代码] [代码]Date()[代码][代码] [代码][代码]const picker = {[代码][代码] [代码][代码]startLimit: miment([代码][代码]new[代码] [代码]Date(0)).format(FORMATER),[代码][代码] [代码][代码]startDate: miment(today.getFullYear(), today.getMonth() - 1, today.getDate()).format(FORMATER),[代码][代码] [代码][代码]endDate: miment(today.getFullYear(), today.getMonth(), today.getDate()).format(FORMATER),[代码][代码] [代码][代码]}[代码] [代码] [代码][代码]if[代码] [代码]([代码][代码]new[代码] [代码]Date(picker.startLimit).getTime() > [代码][代码]new[代码] [代码]Date(picker.startDate).getTime()) {[代码][代码] [代码][代码]picker.startDate = picker.startLimit[代码][代码] [代码][代码]}[代码][代码] [代码][代码]this[代码][代码].setData({[代码][代码] [代码][代码]picker[代码][代码] [代码][代码]})[代码][代码] [代码][代码]},[代码] [代码] [代码][代码]getPickerValue(e) {[代码][代码] [代码][代码]const { key } = e.currentTarget.dataset[代码][代码] [代码][代码]this[代码][代码].setData({[代码][代码] [代码][代码][key]: e.detail.value[代码][代码] [代码][代码]})[代码][代码] [代码][代码]},[代码][代码]}[代码]渲染后的 wxml表现为 [图片] System: Android6.0.1 WeChat: 7.0.6 1460 WeChatLib: 2.8.0 (2019.8.8 20:04:12) [图片]
2019-08-09 - 开发工具编译能否添加排除目录
用vscode开发,有安装history插件,自动生成了.history目录,开发工具把这个也加入编译了 - 当前 Bug 的表现(可附上截图) [图片]
2018-10-30 - 小程序 关于进去 看不到相关公众号
小程序控制台已经做了关联,如图[图片] 客户端关于里 不显示相关公众号 [图片]
2018-06-20 - 搜索太频繁,请稍后再试
也就多点了几下 上一页下一页,不让搜了还,能不限制吗
2018-05-16 - map组件 controls 大小乱了
正常大小 40*40 [图片] ios 11.11 [图片] 代码 [代码]controls: [{[代码][代码] [代码][代码]id: 1,[代码][代码] [代码][代码]iconPath: [代码][代码]'/assets/images/location.png'[代码][代码],[代码][代码] [代码][代码]position: {[代码][代码] [代码][代码]left: 10,[代码][代码] [代码][代码]top: wx.getSystemInfoSync().windowHeight - 70,[代码][代码] [代码][代码]width: 40,[代码][代码] [代码][代码]height: 40[代码][代码] [代码][代码]},[代码][代码] [代码][代码]clickable: [代码][代码]true[代码][代码] [代码][代码]}, {[代码][代码] [代码][代码]id: 3,[代码][代码] [代码][代码]iconPath: [代码][代码]'/assets/images/engineer.png'[代码][代码],[代码][代码] [代码][代码]position: {[代码][代码] [代码][代码]left: 10,[代码][代码] [代码][代码]top: wx.getSystemInfoSync().windowHeight - 120,[代码][代码] [代码][代码]width: 40,[代码][代码] [代码][代码]heigth: 40,[代码][代码] [代码][代码]},[代码][代码] [代码][代码]clickable: [代码][代码]true[代码][代码] [代码][代码]}, {[代码][代码] [代码][代码]id: 2,[代码][代码] [代码][代码]iconPath: [代码][代码]'/assets/images/my.png'[代码][代码],[代码][代码] [代码][代码]position: {[代码][代码] [代码][代码]left: wx.getSystemInfoSync().windowWidth - 50,[代码][代码] [代码][代码]top: wx.getSystemInfoSync().windowHeight - 120,[代码][代码] [代码][代码]width: 40,[代码][代码] [代码][代码]heigth: 40,[代码][代码] [代码][代码]},[代码][代码] [代码][代码]clickable: [代码][代码]true[代码][代码] [代码][代码]}, {[代码][代码] [代码][代码]id: 4,[代码][代码] [代码][代码]iconPath: [代码][代码]'/assets/images/custom.png'[代码][代码],[代码][代码] [代码][代码]position: {[代码][代码] [代码][代码]left: wx.getSystemInfoSync().windowWidth - 50,[代码][代码] [代码][代码]top: wx.getSystemInfoSync().windowHeight - 70,[代码][代码] [代码][代码]width: 40,[代码][代码] [代码][代码]heigth: 40,[代码][代码] [代码][代码]},[代码][代码] [代码][代码]clickable: [代码][代码]true[代码][代码] [代码][代码]}][代码]
2018-02-25 - 自定义组件有没有类似vue refs这种属性
我想在使用组件的page里获取组件的一些data 或者method,不想在组件里用triggerEvent传值,因为没有定义事件 比如我封装了一个输入框组件,我怎么在引用它的page获取它的值
2018-01-08 - webview真机打开白屏,也不报错
开发者工具正常
2017-11-13