修改设备id
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<view>
|
||||
<view class="tips" v-if="allowMac!==macStr">当前设备不可使用</view>
|
||||
<view class="tips" v-if="allowMac!==macStr">当前设备不可以</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
|||
return {
|
||||
macStr:'', //设备mac
|
||||
allowMac:'B0:CC:FE:9E:D3:4A', //允许设备mac
|
||||
randomMac:'F2:6E:B1:A7:3B:B1', //允许设备mac
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
|
@ -40,7 +41,7 @@
|
|||
this.macStr = finalMac;
|
||||
// #endif
|
||||
|
||||
if(this.macStr == this.allowMac){
|
||||
if(this.macStr == this.allowMac || this.macStr == this.randomMac){
|
||||
uni.reLaunch({
|
||||
url:'/pages/count/count'
|
||||
})
|
||||
|
|
|
@ -265,7 +265,7 @@ var render = function () {
|
|||
[
|
||||
_vm._$g(1, "i")
|
||||
? _c("uni-view", { staticClass: _vm._$g(1, "sc"), attrs: { _i: 1 } }, [
|
||||
_vm._v("当前设备不可使用"),
|
||||
_vm._v(_vm._$g(1, "t0-0")),
|
||||
])
|
||||
: _vm._e(),
|
||||
],
|
||||
|
|
Before Width: | Height: | Size: 110 KiB After Width: | Height: | Size: 110 KiB |
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 6.1 KiB |
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 7.7 KiB |
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 8.6 KiB |
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 9.6 KiB |
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 5.1 KiB |