问题

在这里插入图片描述

[ERROR] reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->RangeError: Maximum call stack size exceeded.

getTemplateInfo== template md5 726779f58920978db2f629e5e90b6599 length 5234452 base64 md5 cmd59Ykgl42y9inl6QtlmQ== response header {"templateSourceBase64MD5":["cmd59Ykgl42y9inl6QtlmQ=="],"templateSourceMD5":["726779f58920978db2f629e5e90b6599"]}

解决过程

参考了https://blog.csdn.net/weixin_43343144/article/details/98085487的文章
他出现问题的原因是:props中使用了this
在这里插入图片描述

但是我并没有这样操作props啊……不对,我在某个组件中的data中直接使用了this:
在这里插入图片描述
我是想把this传到某个函数中,解决一个回调的问题。

改成如下:
在这里插入图片描述

转载自 https://www.cnblogs.com/mankii/p/11639832.html

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐