加载webview时出现Titanium错误

时间:2017-02-26 19:24:30

标签: asynchronous webview appcelerator-titanium

我对webview的内容有疑问。我将解释: 我创建了一个webview

var advisor = Titanium.UI.createWebView({
    url: 'advisor.html'
});

其网址是一个html,其中有一个异步脚本应该为我提供横幅广告(我是由那些委托我完成这项工作的人提供的,并且有效!)

这是脚本

<ins data-revive-zoneid="1" data-revive-id="a8fd1f1dd1d9f38931672573f40cf0b1"></ins> 
<script async src="//mysite.com/www/delivery/asyncjs.php"></script>

当我运行应用程序时,webview会收取费用,但加载php脚本文件时出错。

Error loading /www/delivery/asyncjs.php

请帮帮我!

0 个答案:

没有答案