删除无用文件
This commit is contained in:
parent
4322001225
commit
1bf4583525
9
src/iscs_new/core/form/props.js
Normal file
9
src/iscs_new/core/form/props.js
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
export default {
|
||||||
|
String: 'String',
|
||||||
|
Number: 'Number',
|
||||||
|
Select: 'Select',
|
||||||
|
Boolean: 'Boolean',
|
||||||
|
Color: 'Color',
|
||||||
|
Point: 'Point',
|
||||||
|
Points: 'Points'
|
||||||
|
}
|
@ -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);
|
|
||||||
}
|
|
@ -319,10 +319,10 @@ export default {
|
|||||||
{ status: 's2', code: '101', type: 'Device' }
|
{ status: 's2', code: '101', type: 'Device' }
|
||||||
]);
|
]);
|
||||||
setTimeout(e => {
|
setTimeout(e => {
|
||||||
this.$iscs.update([
|
// this.$iscs.update([
|
||||||
{ status: 's0', code: '100', type: 'Device' },
|
// { status: 's0', code: '100', type: 'Device' },
|
||||||
{ status: 's0', code: '101', type: 'Device' },
|
// { status: 's0', code: '101', type: 'Device' },
|
||||||
])
|
// ])
|
||||||
}, 15000)
|
}, 15000)
|
||||||
},
|
},
|
||||||
// 键盘快捷键事件
|
// 键盘快捷键事件
|
||||||
|
Loading…
Reference in New Issue
Block a user