fix: require is not defined
This commit is contained in:
parent
078dcff909
commit
0a9a9fbdb6
@ -1,9 +1,9 @@
|
|||||||
import {ref} from "vue";
|
import {ref} from "vue";
|
||||||
import { Notyf } from 'notyf'
|
import { Notyf } from 'notyf'
|
||||||
import { waveData } from "../assets/dataMap";
|
import { waveData } from "../assets/dataMap";
|
||||||
|
import QRCode from 'qrcode'
|
||||||
|
|
||||||
const notyf = new Notyf({ duration: 4000 })
|
const notyf = new Notyf({ duration: 4000 })
|
||||||
const QRCode = require('qrcode')
|
|
||||||
|
|
||||||
let channelAStrength = 0; // A通道强度
|
let channelAStrength = 0; // A通道强度
|
||||||
let channelBStrength = 0; // B通道强度
|
let channelBStrength = 0; // B通道强度
|
||||||
|
Loading…
x
Reference in New Issue
Block a user