使用api.openWin方法切换时,会出现xxxx: Uncaught ReferenceError: api is not defined
解决方法:
替换掉api方法,api只有在apicloud平台生成的APP才能使用,并不能使用到网页中去