const template = `<div>{{ a + b | c }}</div>` //vue 源码处理的为 _f("${filter}")(${exp}) const staticRenderCode = 'with(this){ return _f(c)(a+b)}' //将code生成handler const staticRenderHandler = new Function(staticRenderCode);
posted on 2020-11-04 16:42 偏灬爱 阅读(177) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 偏灬爱 Powered by .NET 8.0 on Kubernetes