|
|
@@ -1422,12 +1422,14 @@ export default {
|
|
|
//二维码生成插件
|
|
|
creatQrCode(text) {
|
|
|
// 查找并删除旧的二维码DOM元素
|
|
|
+ this.$refs['qrcode'].innerHTML = ''
|
|
|
let element = document.getElementById("qrcode");
|
|
|
while (element.firstChild) {
|
|
|
element.removeChild(element.firstChild);
|
|
|
}
|
|
|
// 创建新的QRCode实例
|
|
|
- this.qrcode = new QRCode("qrcode", {
|
|
|
+ // this.qrcode = new QRCode("qrcode", {
|
|
|
+ this.qrcode = new QRCode(this.$refs['qrcode'], {
|
|
|
text: text,
|
|
|
width: this.qrcodeWidth,
|
|
|
height: this.qrcodeHeight,
|
|
|
@@ -3539,7 +3541,6 @@ export default {
|
|
|
border-bottom: none;
|
|
|
}
|
|
|
|
|
|
-.Risk_title>div:nth-child(1) {}
|
|
|
|
|
|
.Risk_title>div:nth-child(2) {
|
|
|
border-left: none;
|