添加全局蓝牙
This commit is contained in:
11
App.vue
11
App.vue
@ -1,8 +1,12 @@
|
||||
<script>
|
||||
import request from '@/utils/request.js';
|
||||
import bleTool from '@/utils/BleHelper.js';
|
||||
|
||||
export default {
|
||||
|
||||
onLaunch: function() {
|
||||
|
||||
uni.clearStorageSync();
|
||||
var ble = bleTool.getBleTool();
|
||||
},
|
||||
onShow: function() {
|
||||
console.log('App Show')
|
||||
@ -54,4 +58,9 @@
|
||||
.uni-picker-view-wrapper{
|
||||
background: rgba(42, 42, 42, 1);
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "PingFang SC";
|
||||
src: url("~@/static/fonts/PingFangSC.ttf") format("opentype");
|
||||
}
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user