|
@@ -1,6 +1,6 @@
|
|
|
const app = getApp();
|
|
|
import strings from '../../utils/strings.js';
|
|
|
-import routUtil from '../../utils/routUtil.js';
|
|
|
+import routeUtil from '../../utils/routeUtil.js';
|
|
|
import routePath from '../../utils/routePath.js'
|
|
|
import routeRoot from '../../utils/routeRoot.js'
|
|
|
|
|
@@ -47,7 +47,7 @@ Page({
|
|
|
showCapsule: 1,
|
|
|
title: '连接配网',
|
|
|
callback: () => {
|
|
|
- routUtil.goBackRoute(routeRoot.indexRoot);
|
|
|
+ routeUtil.goBackRoute(routeRoot.indexRoot);
|
|
|
}
|
|
|
},
|
|
|
})
|
|
@@ -109,7 +109,7 @@ Page({
|
|
|
success(res) {
|
|
|
if (that.data.scopeBluetooth && that.data.userFuzzyLocation) {
|
|
|
var param = JSON.stringify(that.data.connectDevice);
|
|
|
- routUtil.jumpParam(routePath.deviceConnect1, param);
|
|
|
+ routeUtil.jumpParam(routePath.deviceConnect1, param);
|
|
|
}
|
|
|
},
|
|
|
fail(res) {
|
|
@@ -145,7 +145,7 @@ Page({
|
|
|
|
|
|
///返回到首页
|
|
|
notRoter() {
|
|
|
- routUtil.goBackRoute(routeRoot.indexRoot);
|
|
|
+ routeUtil.goBackRoute(routeRoot.indexRoot);
|
|
|
},
|
|
|
|
|
|
onUnload() {
|