在renderjs层用this.$ownerInstance.callMethod调用逻辑层方法,我有2个疑问:
1、如果我在renderjs方法里连续多次用this.$ownerInstance.callMethod调用逻辑层的方法,它们会等待上个this.$ownerInstance.callMethod执行完再执行下一个this.$ownerInstance.callMethod吗?由于renderjs无法打断点调试,我用输出log方法好像是会顺序执行,但不确定,希望有人能给个答案,这对我很重要,因为我希望是顺序执行。
2、用this.$ownerInstance.callMethod调用逻辑层方法出错,能在renderjs方法里用try..catch捕获?

z***@163.com
- 发布:2025-04-23 15:30
- 更新:2025-04-23 15:30
- 阅读:20
0 个回复