bootstrap-table-mobile.js

This commit is contained in:
RuoYi
2019-01-21 14:46:09 +08:00
parent eae8c660cf
commit c064115501
2 changed files with 10 additions and 6 deletions

View File

@ -16,7 +16,7 @@
// 判断是否 iphone
var isIPhone = function () {
let browserName = navigator.userAgent.toLowerCase();
return /(iphone)/i.test(browserName);
return /(iPhone|iPad|iPod|iOS)/i.test(browserName);
};
var changeView = function (that, width, height) {