有
主进程中发生JavaScript错误怎么解决?如题,有解决办法吗
2021-04-134000多还不够么?
onShareAppMessage中path属性最大长度是多少[代码]onShareAppMessage: [代码][代码]function[代码] [代码]() {[代码][代码] [代码][代码]let title = [代码][代码]this[代码][代码].data.textareaValue === [代码][代码]''[代码] [代码]? [代码][代码]''[代码] [代码]: [代码][代码]this[代码][代码].data.textareaValue.substring(0, 50),[代码][代码] [代码][代码]that = [代码][代码]this[代码][代码];[代码] [代码] [代码][代码]return[代码] [代码]{[代码][代码] [代码][代码]title: title,[代码][代码] [代码][代码]path: [代码][代码]'/pages/page1/page1?srcTxt='[代码] [代码]+ encodeURIComponent(that.data.textareaValue) + [代码][代码]'&result='[代码] [代码]+ encodeURIComponent(that.data.translationResult) + [代码][代码]'&to='[代码] [代码]+ [代码][代码]this[代码][代码].data.resLang + [代码][代码]'&from='[代码] [代码]+ [代码][代码]this[代码][代码].data.fromLang,[代码][代码] [代码][代码]success: [代码][代码]function[代码] [代码](res) {[代码][代码] [代码][代码]// 转发成功[代码][代码] [代码][代码]},[代码][代码] [代码][代码]fail: [代码][代码]function[代码] [代码](res) {[代码][代码] [代码][代码]// 转发失败[代码][代码] [代码][代码]}[代码][代码] [代码][代码]}[代码][代码] [代码][代码]}[代码]目前我path中字符数超过4000多转发的时候就会失败,请问转发时这个字符长度最大是多少?
2018-11-08