Skip to content

Commit 4a2c162

Browse files
committed
fix: 🐛 修复识别文字显示时颜色随网站改变的异常
1 parent 1806992 commit 4a2c162

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

apps/common/qr-code/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# common-qr-code
22

3+
## 1.1.1
4+
5+
### Patch Changes
6+
7+
- 修复识别文字显示时颜色随网站改变的异常
8+
39
## 1.1.0
410

511
### Minor Changes

apps/common/qr-code/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "common-qr-code",
33
"type": "module",
4-
"version": "1.1.0",
4+
"version": "1.1.1",
55
"private": true,
66
"description": "图片二维码识别(Common QR Code)-- 右键图片,识别二维码并复制到剪贴板。",
77
"author": {

apps/common/qr-code/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ GM_registerMenuCommand('Decode QR Code', () => {
2525
element.style.borderRadius = '5px'
2626
element.style.maxHeight = '200px'
2727
element.style.overflowY = 'auto'
28+
element.style.color = 'rgba(0, 0, 0, .65)'
2829

2930
swal({
3031
icon: 'success',

0 commit comments

Comments
 (0)