We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exports.getVm = function (data) { return data[this.id]; }; exports.cacheVm = function (data, vm) { data[this.id] = vm; };
exports.getVm = function (data) { return data[this.id]; };
exports.cacheVm = function (data, vm) { data[this.id] = vm; };
此时this.id为什么可以获得repeat实例的id,我理解现在this不是指向现在的模板吗?请大佬解释下。
repeat实例的id
The text was updated successfully, but these errors were encountered:
@LiuMengzhou this是Directive实例
Sorry, something went wrong.
@zyl1314 明白了,谢谢。
No branches or pull requests
此时this.id为什么可以获得
repeat实例的id
,我理解现在this不是指向现在的模板吗?请大佬解释下。The text was updated successfully, but these errors were encountered: