现在项目里面有些文件必须得在index.html里面引入,大部分手机测试都没问题,但是安卓5.1测试的时候,发现index.html里面引入的文件都没起作用。<!DOCTYPE html><html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0,minimum-scale=1, maximum-scale=1" />
<meta content="telephone=no" name="format-detection" />
<link rel="stylesheet" href="/static/css/shop.css">
<title>shop</title>
</head>
<body>
<div id="app"></div>
<!-- built files will be auto injected -->
<script src="./static/js/config.js"></script>//安卓5.1这里就不起作用了 <script src="./static/js/jquery-3.2.1.min.js"></script>
<script src="./static/js/jshop.min.js"></script>
</body></html>在文件里加入打印也不会打印出来,页面会报错config里面都是些配置项,没有什么复杂的东西var config= {};
config.api = '';
config.url = ';//登陆链接config.login = '';
config.apia = '';
添加回答
举报
0/150
提交
取消