删除无用文件

This commit is contained in:
ival 2021-04-06 10:21:40 +08:00
parent 4322001225
commit 1bf4583525
3 changed files with 13 additions and 16 deletions

View File

@ -0,0 +1,9 @@
export default {
String: 'String',
Number: 'Number',
Select: 'Select',
Boolean: 'Boolean',
Color: 'Color',
Point: 'Point',
Points: 'Points'
}

View File

@ -1,12 +0,0 @@
export function isMobile() {
var sUserAgent= navigator.userAgent.toLowerCase();
var bIsIpad= sUserAgent.match(/ipad/i) == 'ipad';
var bIsIphoneOs= sUserAgent.match(/iphone os/i) == 'iphone os';
var bIsMidp= sUserAgent.match(/midp/i) == 'midp';
var bIsUc7= sUserAgent.match(/rv:1.2.3.4/i) == 'rv:1.2.3.4';
var bIsUc= sUserAgent.match(/ucweb/i) == 'ucweb';
var bIsAndroid= sUserAgent.match(/android/i) == 'android';
var bIsCE= sUserAgent.match(/windows ce/i) == 'windows ce';
var bIsWM= sUserAgent.match(/windows mobile/i) == 'windows mobile';
return (bIsIpad || bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsAndroid || bIsCE || bIsWM);
}

View File

@ -319,10 +319,10 @@ export default {
{ status: 's2', code: '101', type: 'Device' }
]);
setTimeout(e => {
this.$iscs.update([
{ status: 's0', code: '100', type: 'Device' },
{ status: 's0', code: '101', type: 'Device' },
])
// this.$iscs.update([
// { status: 's0', code: '100', type: 'Device' },
// { status: 's0', code: '101', type: 'Device' },
// ])
}, 15000)
},
//