inl-ui 0.1.131 → 0.1.132
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/index.cjs +24 -6
- package/dist/components/index.js +24 -6
- package/dist/index.cjs +24 -6
- package/dist/index.js +24 -6
- package/dist/video/index.cjs +24 -6
- package/dist/video/index.js +25 -7
- package/package.json +1 -1
|
@@ -10018,15 +10018,27 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
10018
10018
|
});
|
|
10019
10019
|
Mqtt.on("message", onMtMessageFn);
|
|
10020
10020
|
};
|
|
10021
|
-
const onMtMessageFn = (
|
|
10021
|
+
const onMtMessageFn = (topicStr, message2) => {
|
|
10022
|
+
if (topicStr !== topic.value) {
|
|
10023
|
+
return;
|
|
10024
|
+
}
|
|
10022
10025
|
const msg = new TextDecoder("utf-8").decode(message2);
|
|
10023
10026
|
console.log("msg", JSON.parse(msg));
|
|
10024
10027
|
drawFlog(JSON.parse(msg));
|
|
10025
10028
|
};
|
|
10026
10029
|
let canvasDom = null;
|
|
10027
10030
|
let textBox = null;
|
|
10028
|
-
const createFlogCanvas = () => {
|
|
10031
|
+
const createFlogCanvas = async () => {
|
|
10032
|
+
await vue.nextTick();
|
|
10029
10033
|
const box = document.getElementById("videoBox_" + uuid.value);
|
|
10034
|
+
if (!box) {
|
|
10035
|
+
return {
|
|
10036
|
+
canvas: null,
|
|
10037
|
+
textBox: null,
|
|
10038
|
+
width: 0,
|
|
10039
|
+
height: 0
|
|
10040
|
+
};
|
|
10041
|
+
}
|
|
10030
10042
|
if (!canvasDom) {
|
|
10031
10043
|
canvasDom = document.createElement("canvas");
|
|
10032
10044
|
canvasDom.id = "canvas_" + uuid.value;
|
|
@@ -10071,13 +10083,16 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
10071
10083
|
}
|
|
10072
10084
|
};
|
|
10073
10085
|
let drawCleanTimer = null;
|
|
10074
|
-
const drawFlog = data => {
|
|
10086
|
+
const drawFlog = async data => {
|
|
10075
10087
|
let {
|
|
10076
10088
|
canvasDom: canvasDom2,
|
|
10077
10089
|
width,
|
|
10078
10090
|
height,
|
|
10079
10091
|
textBox: textBox2
|
|
10080
|
-
} = createFlogCanvas();
|
|
10092
|
+
} = await createFlogCanvas();
|
|
10093
|
+
if (!canvasDom2) {
|
|
10094
|
+
return;
|
|
10095
|
+
}
|
|
10081
10096
|
const ctx = canvasDom2.getContext("2d");
|
|
10082
10097
|
if (drawCleanTimer) {
|
|
10083
10098
|
clearTimeout(drawCleanTimer);
|
|
@@ -10119,7 +10134,7 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
10119
10134
|
const vlmSwitchKey = vue.computed(() => {
|
|
10120
10135
|
return `showVlmInfo_${camera.value?.uuid}`;
|
|
10121
10136
|
});
|
|
10122
|
-
vue.watchEffect(() => {
|
|
10137
|
+
vue.watchEffect(async () => {
|
|
10123
10138
|
if (showVlmInfo.value) {
|
|
10124
10139
|
localStorage.removeItem(vlmSwitchKey.value);
|
|
10125
10140
|
} else {
|
|
@@ -10129,7 +10144,10 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
10129
10144
|
textBox: textBox2,
|
|
10130
10145
|
width,
|
|
10131
10146
|
height
|
|
10132
|
-
} = createFlogCanvas();
|
|
10147
|
+
} = await createFlogCanvas();
|
|
10148
|
+
if (!canvasDom2) {
|
|
10149
|
+
return;
|
|
10150
|
+
}
|
|
10133
10151
|
const ctx = canvasDom2.getContext("2d");
|
|
10134
10152
|
clearTimeout(drawCleanTimer);
|
|
10135
10153
|
removeTxtBox();
|
package/dist/components/index.js
CHANGED
|
@@ -9989,15 +9989,27 @@ const VideoBoxV2 = defineComponent({
|
|
|
9989
9989
|
});
|
|
9990
9990
|
Mqtt.on("message", onMtMessageFn);
|
|
9991
9991
|
};
|
|
9992
|
-
const onMtMessageFn = (
|
|
9992
|
+
const onMtMessageFn = (topicStr, message2) => {
|
|
9993
|
+
if (topicStr !== topic.value) {
|
|
9994
|
+
return;
|
|
9995
|
+
}
|
|
9993
9996
|
const msg = new TextDecoder("utf-8").decode(message2);
|
|
9994
9997
|
console.log("msg", JSON.parse(msg));
|
|
9995
9998
|
drawFlog(JSON.parse(msg));
|
|
9996
9999
|
};
|
|
9997
10000
|
let canvasDom = null;
|
|
9998
10001
|
let textBox = null;
|
|
9999
|
-
const createFlogCanvas = () => {
|
|
10002
|
+
const createFlogCanvas = async () => {
|
|
10003
|
+
await nextTick();
|
|
10000
10004
|
const box = document.getElementById("videoBox_" + uuid.value);
|
|
10005
|
+
if (!box) {
|
|
10006
|
+
return {
|
|
10007
|
+
canvas: null,
|
|
10008
|
+
textBox: null,
|
|
10009
|
+
width: 0,
|
|
10010
|
+
height: 0
|
|
10011
|
+
};
|
|
10012
|
+
}
|
|
10001
10013
|
if (!canvasDom) {
|
|
10002
10014
|
canvasDom = document.createElement("canvas");
|
|
10003
10015
|
canvasDom.id = "canvas_" + uuid.value;
|
|
@@ -10042,13 +10054,16 @@ const VideoBoxV2 = defineComponent({
|
|
|
10042
10054
|
}
|
|
10043
10055
|
};
|
|
10044
10056
|
let drawCleanTimer = null;
|
|
10045
|
-
const drawFlog = data => {
|
|
10057
|
+
const drawFlog = async data => {
|
|
10046
10058
|
let {
|
|
10047
10059
|
canvasDom: canvasDom2,
|
|
10048
10060
|
width,
|
|
10049
10061
|
height,
|
|
10050
10062
|
textBox: textBox2
|
|
10051
|
-
} = createFlogCanvas();
|
|
10063
|
+
} = await createFlogCanvas();
|
|
10064
|
+
if (!canvasDom2) {
|
|
10065
|
+
return;
|
|
10066
|
+
}
|
|
10052
10067
|
const ctx = canvasDom2.getContext("2d");
|
|
10053
10068
|
if (drawCleanTimer) {
|
|
10054
10069
|
clearTimeout(drawCleanTimer);
|
|
@@ -10090,7 +10105,7 @@ const VideoBoxV2 = defineComponent({
|
|
|
10090
10105
|
const vlmSwitchKey = computed(() => {
|
|
10091
10106
|
return `showVlmInfo_${camera.value?.uuid}`;
|
|
10092
10107
|
});
|
|
10093
|
-
watchEffect(() => {
|
|
10108
|
+
watchEffect(async () => {
|
|
10094
10109
|
if (showVlmInfo.value) {
|
|
10095
10110
|
localStorage.removeItem(vlmSwitchKey.value);
|
|
10096
10111
|
} else {
|
|
@@ -10100,7 +10115,10 @@ const VideoBoxV2 = defineComponent({
|
|
|
10100
10115
|
textBox: textBox2,
|
|
10101
10116
|
width,
|
|
10102
10117
|
height
|
|
10103
|
-
} = createFlogCanvas();
|
|
10118
|
+
} = await createFlogCanvas();
|
|
10119
|
+
if (!canvasDom2) {
|
|
10120
|
+
return;
|
|
10121
|
+
}
|
|
10104
10122
|
const ctx = canvasDom2.getContext("2d");
|
|
10105
10123
|
clearTimeout(drawCleanTimer);
|
|
10106
10124
|
removeTxtBox();
|
package/dist/index.cjs
CHANGED
|
@@ -11004,15 +11004,27 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
11004
11004
|
});
|
|
11005
11005
|
Mqtt.on("message", onMtMessageFn);
|
|
11006
11006
|
};
|
|
11007
|
-
const onMtMessageFn = (
|
|
11007
|
+
const onMtMessageFn = (topicStr, message2) => {
|
|
11008
|
+
if (topicStr !== topic.value) {
|
|
11009
|
+
return;
|
|
11010
|
+
}
|
|
11008
11011
|
const msg = new TextDecoder("utf-8").decode(message2);
|
|
11009
11012
|
console.log("msg", JSON.parse(msg));
|
|
11010
11013
|
drawFlog(JSON.parse(msg));
|
|
11011
11014
|
};
|
|
11012
11015
|
let canvasDom = null;
|
|
11013
11016
|
let textBox = null;
|
|
11014
|
-
const createFlogCanvas = () => {
|
|
11017
|
+
const createFlogCanvas = async () => {
|
|
11018
|
+
await vue.nextTick();
|
|
11015
11019
|
const box = document.getElementById("videoBox_" + uuid.value);
|
|
11020
|
+
if (!box) {
|
|
11021
|
+
return {
|
|
11022
|
+
canvas: null,
|
|
11023
|
+
textBox: null,
|
|
11024
|
+
width: 0,
|
|
11025
|
+
height: 0
|
|
11026
|
+
};
|
|
11027
|
+
}
|
|
11016
11028
|
if (!canvasDom) {
|
|
11017
11029
|
canvasDom = document.createElement("canvas");
|
|
11018
11030
|
canvasDom.id = "canvas_" + uuid.value;
|
|
@@ -11057,13 +11069,16 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
11057
11069
|
}
|
|
11058
11070
|
};
|
|
11059
11071
|
let drawCleanTimer = null;
|
|
11060
|
-
const drawFlog = data => {
|
|
11072
|
+
const drawFlog = async data => {
|
|
11061
11073
|
let {
|
|
11062
11074
|
canvasDom: canvasDom2,
|
|
11063
11075
|
width,
|
|
11064
11076
|
height,
|
|
11065
11077
|
textBox: textBox2
|
|
11066
|
-
} = createFlogCanvas();
|
|
11078
|
+
} = await createFlogCanvas();
|
|
11079
|
+
if (!canvasDom2) {
|
|
11080
|
+
return;
|
|
11081
|
+
}
|
|
11067
11082
|
const ctx = canvasDom2.getContext("2d");
|
|
11068
11083
|
if (drawCleanTimer) {
|
|
11069
11084
|
clearTimeout(drawCleanTimer);
|
|
@@ -11105,7 +11120,7 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
11105
11120
|
const vlmSwitchKey = vue.computed(() => {
|
|
11106
11121
|
return `showVlmInfo_${camera.value?.uuid}`;
|
|
11107
11122
|
});
|
|
11108
|
-
vue.watchEffect(() => {
|
|
11123
|
+
vue.watchEffect(async () => {
|
|
11109
11124
|
if (showVlmInfo.value) {
|
|
11110
11125
|
localStorage.removeItem(vlmSwitchKey.value);
|
|
11111
11126
|
} else {
|
|
@@ -11115,7 +11130,10 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
11115
11130
|
textBox: textBox2,
|
|
11116
11131
|
width,
|
|
11117
11132
|
height
|
|
11118
|
-
} = createFlogCanvas();
|
|
11133
|
+
} = await createFlogCanvas();
|
|
11134
|
+
if (!canvasDom2) {
|
|
11135
|
+
return;
|
|
11136
|
+
}
|
|
11119
11137
|
const ctx = canvasDom2.getContext("2d");
|
|
11120
11138
|
clearTimeout(drawCleanTimer);
|
|
11121
11139
|
removeTxtBox();
|
package/dist/index.js
CHANGED
|
@@ -10973,15 +10973,27 @@ const VideoBoxV2 = defineComponent({
|
|
|
10973
10973
|
});
|
|
10974
10974
|
Mqtt.on("message", onMtMessageFn);
|
|
10975
10975
|
};
|
|
10976
|
-
const onMtMessageFn = (
|
|
10976
|
+
const onMtMessageFn = (topicStr, message2) => {
|
|
10977
|
+
if (topicStr !== topic.value) {
|
|
10978
|
+
return;
|
|
10979
|
+
}
|
|
10977
10980
|
const msg = new TextDecoder("utf-8").decode(message2);
|
|
10978
10981
|
console.log("msg", JSON.parse(msg));
|
|
10979
10982
|
drawFlog(JSON.parse(msg));
|
|
10980
10983
|
};
|
|
10981
10984
|
let canvasDom = null;
|
|
10982
10985
|
let textBox = null;
|
|
10983
|
-
const createFlogCanvas = () => {
|
|
10986
|
+
const createFlogCanvas = async () => {
|
|
10987
|
+
await nextTick();
|
|
10984
10988
|
const box = document.getElementById("videoBox_" + uuid.value);
|
|
10989
|
+
if (!box) {
|
|
10990
|
+
return {
|
|
10991
|
+
canvas: null,
|
|
10992
|
+
textBox: null,
|
|
10993
|
+
width: 0,
|
|
10994
|
+
height: 0
|
|
10995
|
+
};
|
|
10996
|
+
}
|
|
10985
10997
|
if (!canvasDom) {
|
|
10986
10998
|
canvasDom = document.createElement("canvas");
|
|
10987
10999
|
canvasDom.id = "canvas_" + uuid.value;
|
|
@@ -11026,13 +11038,16 @@ const VideoBoxV2 = defineComponent({
|
|
|
11026
11038
|
}
|
|
11027
11039
|
};
|
|
11028
11040
|
let drawCleanTimer = null;
|
|
11029
|
-
const drawFlog = data => {
|
|
11041
|
+
const drawFlog = async data => {
|
|
11030
11042
|
let {
|
|
11031
11043
|
canvasDom: canvasDom2,
|
|
11032
11044
|
width,
|
|
11033
11045
|
height,
|
|
11034
11046
|
textBox: textBox2
|
|
11035
|
-
} = createFlogCanvas();
|
|
11047
|
+
} = await createFlogCanvas();
|
|
11048
|
+
if (!canvasDom2) {
|
|
11049
|
+
return;
|
|
11050
|
+
}
|
|
11036
11051
|
const ctx = canvasDom2.getContext("2d");
|
|
11037
11052
|
if (drawCleanTimer) {
|
|
11038
11053
|
clearTimeout(drawCleanTimer);
|
|
@@ -11074,7 +11089,7 @@ const VideoBoxV2 = defineComponent({
|
|
|
11074
11089
|
const vlmSwitchKey = computed(() => {
|
|
11075
11090
|
return `showVlmInfo_${camera.value?.uuid}`;
|
|
11076
11091
|
});
|
|
11077
|
-
watchEffect(() => {
|
|
11092
|
+
watchEffect(async () => {
|
|
11078
11093
|
if (showVlmInfo.value) {
|
|
11079
11094
|
localStorage.removeItem(vlmSwitchKey.value);
|
|
11080
11095
|
} else {
|
|
@@ -11084,7 +11099,10 @@ const VideoBoxV2 = defineComponent({
|
|
|
11084
11099
|
textBox: textBox2,
|
|
11085
11100
|
width,
|
|
11086
11101
|
height
|
|
11087
|
-
} = createFlogCanvas();
|
|
11102
|
+
} = await createFlogCanvas();
|
|
11103
|
+
if (!canvasDom2) {
|
|
11104
|
+
return;
|
|
11105
|
+
}
|
|
11088
11106
|
const ctx = canvasDom2.getContext("2d");
|
|
11089
11107
|
clearTimeout(drawCleanTimer);
|
|
11090
11108
|
removeTxtBox();
|
package/dist/video/index.cjs
CHANGED
|
@@ -7057,15 +7057,27 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
7057
7057
|
});
|
|
7058
7058
|
Mqtt.on("message", onMtMessageFn);
|
|
7059
7059
|
};
|
|
7060
|
-
const onMtMessageFn = (
|
|
7060
|
+
const onMtMessageFn = (topicStr, message2) => {
|
|
7061
|
+
if (topicStr !== topic.value) {
|
|
7062
|
+
return;
|
|
7063
|
+
}
|
|
7061
7064
|
const msg = new TextDecoder("utf-8").decode(message2);
|
|
7062
7065
|
console.log("msg", JSON.parse(msg));
|
|
7063
7066
|
drawFlog(JSON.parse(msg));
|
|
7064
7067
|
};
|
|
7065
7068
|
let canvasDom = null;
|
|
7066
7069
|
let textBox = null;
|
|
7067
|
-
const createFlogCanvas = () => {
|
|
7070
|
+
const createFlogCanvas = async () => {
|
|
7071
|
+
await vue.nextTick();
|
|
7068
7072
|
const box = document.getElementById("videoBox_" + uuid.value);
|
|
7073
|
+
if (!box) {
|
|
7074
|
+
return {
|
|
7075
|
+
canvas: null,
|
|
7076
|
+
textBox: null,
|
|
7077
|
+
width: 0,
|
|
7078
|
+
height: 0
|
|
7079
|
+
};
|
|
7080
|
+
}
|
|
7069
7081
|
if (!canvasDom) {
|
|
7070
7082
|
canvasDom = document.createElement("canvas");
|
|
7071
7083
|
canvasDom.id = "canvas_" + uuid.value;
|
|
@@ -7110,13 +7122,16 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
7110
7122
|
}
|
|
7111
7123
|
};
|
|
7112
7124
|
let drawCleanTimer = null;
|
|
7113
|
-
const drawFlog = data => {
|
|
7125
|
+
const drawFlog = async data => {
|
|
7114
7126
|
let {
|
|
7115
7127
|
canvasDom: canvasDom2,
|
|
7116
7128
|
width,
|
|
7117
7129
|
height,
|
|
7118
7130
|
textBox: textBox2
|
|
7119
|
-
} = createFlogCanvas();
|
|
7131
|
+
} = await createFlogCanvas();
|
|
7132
|
+
if (!canvasDom2) {
|
|
7133
|
+
return;
|
|
7134
|
+
}
|
|
7120
7135
|
const ctx = canvasDom2.getContext("2d");
|
|
7121
7136
|
if (drawCleanTimer) {
|
|
7122
7137
|
clearTimeout(drawCleanTimer);
|
|
@@ -7158,7 +7173,7 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
7158
7173
|
const vlmSwitchKey = vue.computed(() => {
|
|
7159
7174
|
return `showVlmInfo_${camera.value?.uuid}`;
|
|
7160
7175
|
});
|
|
7161
|
-
vue.watchEffect(() => {
|
|
7176
|
+
vue.watchEffect(async () => {
|
|
7162
7177
|
if (showVlmInfo.value) {
|
|
7163
7178
|
localStorage.removeItem(vlmSwitchKey.value);
|
|
7164
7179
|
} else {
|
|
@@ -7168,7 +7183,10 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
7168
7183
|
textBox: textBox2,
|
|
7169
7184
|
width,
|
|
7170
7185
|
height
|
|
7171
|
-
} = createFlogCanvas();
|
|
7186
|
+
} = await createFlogCanvas();
|
|
7187
|
+
if (!canvasDom2) {
|
|
7188
|
+
return;
|
|
7189
|
+
}
|
|
7172
7190
|
const ctx = canvasDom2.getContext("2d");
|
|
7173
7191
|
clearTimeout(drawCleanTimer);
|
|
7174
7192
|
removeTxtBox();
|
package/dist/video/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref, defineComponent, reactive, watchEffect, watch, onBeforeUnmount, createVNode, Fragment, toRefs, resolveComponent, onMounted, withDirectives, vShow, isVNode, computed, shallowRef, onBeforeMount
|
|
1
|
+
import { ref, defineComponent, reactive, watchEffect, watch, onBeforeUnmount, createVNode, Fragment, toRefs, resolveComponent, onMounted, withDirectives, vShow, isVNode, computed, nextTick, shallowRef, onBeforeMount } from 'vue';
|
|
2
2
|
import { SearchOutlined, FullscreenOutlined, createFromIconfontCN } from '@ant-design/icons-vue';
|
|
3
3
|
import axios$2 from 'axios';
|
|
4
4
|
import { resolveRef, useFullscreen } from '@vueuse/core';
|
|
@@ -7030,15 +7030,27 @@ const VideoBoxV2 = defineComponent({
|
|
|
7030
7030
|
});
|
|
7031
7031
|
Mqtt.on("message", onMtMessageFn);
|
|
7032
7032
|
};
|
|
7033
|
-
const onMtMessageFn = (
|
|
7033
|
+
const onMtMessageFn = (topicStr, message2) => {
|
|
7034
|
+
if (topicStr !== topic.value) {
|
|
7035
|
+
return;
|
|
7036
|
+
}
|
|
7034
7037
|
const msg = new TextDecoder("utf-8").decode(message2);
|
|
7035
7038
|
console.log("msg", JSON.parse(msg));
|
|
7036
7039
|
drawFlog(JSON.parse(msg));
|
|
7037
7040
|
};
|
|
7038
7041
|
let canvasDom = null;
|
|
7039
7042
|
let textBox = null;
|
|
7040
|
-
const createFlogCanvas = () => {
|
|
7043
|
+
const createFlogCanvas = async () => {
|
|
7044
|
+
await nextTick();
|
|
7041
7045
|
const box = document.getElementById("videoBox_" + uuid.value);
|
|
7046
|
+
if (!box) {
|
|
7047
|
+
return {
|
|
7048
|
+
canvas: null,
|
|
7049
|
+
textBox: null,
|
|
7050
|
+
width: 0,
|
|
7051
|
+
height: 0
|
|
7052
|
+
};
|
|
7053
|
+
}
|
|
7042
7054
|
if (!canvasDom) {
|
|
7043
7055
|
canvasDom = document.createElement("canvas");
|
|
7044
7056
|
canvasDom.id = "canvas_" + uuid.value;
|
|
@@ -7083,13 +7095,16 @@ const VideoBoxV2 = defineComponent({
|
|
|
7083
7095
|
}
|
|
7084
7096
|
};
|
|
7085
7097
|
let drawCleanTimer = null;
|
|
7086
|
-
const drawFlog = data => {
|
|
7098
|
+
const drawFlog = async data => {
|
|
7087
7099
|
let {
|
|
7088
7100
|
canvasDom: canvasDom2,
|
|
7089
7101
|
width,
|
|
7090
7102
|
height,
|
|
7091
7103
|
textBox: textBox2
|
|
7092
|
-
} = createFlogCanvas();
|
|
7104
|
+
} = await createFlogCanvas();
|
|
7105
|
+
if (!canvasDom2) {
|
|
7106
|
+
return;
|
|
7107
|
+
}
|
|
7093
7108
|
const ctx = canvasDom2.getContext("2d");
|
|
7094
7109
|
if (drawCleanTimer) {
|
|
7095
7110
|
clearTimeout(drawCleanTimer);
|
|
@@ -7131,7 +7146,7 @@ const VideoBoxV2 = defineComponent({
|
|
|
7131
7146
|
const vlmSwitchKey = computed(() => {
|
|
7132
7147
|
return `showVlmInfo_${camera.value?.uuid}`;
|
|
7133
7148
|
});
|
|
7134
|
-
watchEffect(() => {
|
|
7149
|
+
watchEffect(async () => {
|
|
7135
7150
|
if (showVlmInfo.value) {
|
|
7136
7151
|
localStorage.removeItem(vlmSwitchKey.value);
|
|
7137
7152
|
} else {
|
|
@@ -7141,7 +7156,10 @@ const VideoBoxV2 = defineComponent({
|
|
|
7141
7156
|
textBox: textBox2,
|
|
7142
7157
|
width,
|
|
7143
7158
|
height
|
|
7144
|
-
} = createFlogCanvas();
|
|
7159
|
+
} = await createFlogCanvas();
|
|
7160
|
+
if (!canvasDom2) {
|
|
7161
|
+
return;
|
|
7162
|
+
}
|
|
7145
7163
|
const ctx = canvasDom2.getContext("2d");
|
|
7146
7164
|
clearTimeout(drawCleanTimer);
|
|
7147
7165
|
removeTxtBox();
|