|
|
@@ -147,7 +147,7 @@ import {
|
|
|
validPhone,
|
|
|
validEmail
|
|
|
} from '@/utils/validate'
|
|
|
-
|
|
|
+import { GATEWAY } from '@/constant'
|
|
|
export default {
|
|
|
name: 'Profile',
|
|
|
components: {
|
|
|
@@ -429,7 +429,7 @@ export default {
|
|
|
const options = this.appletOptions
|
|
|
options.loading = true
|
|
|
options.retry = false
|
|
|
- getQrcode({ page: 'pages/otp/otp' }).then(
|
|
|
+ getQrcode({ page: 'pages/device/device', sourceUrl: GATEWAY }).then(
|
|
|
({ data }) => {
|
|
|
options.checking = true
|
|
|
options.qr = `data:image/png;base64,${data}`
|