标签:cti app fun ons color 基本原理 apply 函数 nload
function Page(){ let onLoad = arguments[0].onLoad; arguments[0].onLoad = function(){ //doSomeThing(arguments); onLoad.apply(this,arguments); } } Page({ onLoad:function(options){ this.boolean = true; } })
标签:cti app fun ons color 基本原理 apply 函数 nload
原文地址:http://www.cnblogs.com/chyblog/p/7911989.html