二手车交易,返回按钮的控制
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
|
||||
export const myMixins = {
|
||||
data() {
|
||||
return {
|
||||
@ -86,6 +87,14 @@ export const myMixins = {
|
||||
// 大于或等于 5 位数,显示为 x 万,四舍五入到小数点后一位
|
||||
return `${Math.round(num / 1000) / 10}`;
|
||||
}
|
||||
}
|
||||
},
|
||||
isWebFunc(){
|
||||
var isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
||||
if (!isMobile) {// 是移动端不变
|
||||
return true
|
||||
}else {
|
||||
return false
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user