更新
This commit is contained in:
parent
e9b55bf694
commit
8b22f3615b
@ -4,6 +4,14 @@
|
||||
|
||||
# CHANGE
|
||||
|
||||
## 0.6.4
|
||||
|
||||
2022年10月25日
|
||||
|
||||
### 修改
|
||||
|
||||
- 一键存钱错误修复
|
||||
|
||||
## 0.6.3
|
||||
|
||||
2022年10月24日
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "wuhu-torn-helper",
|
||||
"version": "0.6.3",
|
||||
"version": "0.6.4",
|
||||
"description": "芜湖助手",
|
||||
"dependencies": {},
|
||||
"scripts": {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -48,12 +48,12 @@ export default class ZhongIcon extends WuhuBase {
|
||||
* 添加左侧图标
|
||||
*/
|
||||
private insert2Dom() {
|
||||
ZhongIcon.ZhongNode = document.querySelector('div#wh-trans-icon');
|
||||
let zhongNode = ZhongIcon.ZhongNode;
|
||||
let zhongNode: MyHTMLElement = document.querySelector('div#wh-trans-icon');
|
||||
let settings = this.menuItemList;
|
||||
let { version } = WuhuBase.glob;
|
||||
if ((self !== top) || !!zhongNode) return null;
|
||||
zhongNode = document.createElement('div');
|
||||
ZhongIcon.ZhongNode = zhongNode;
|
||||
zhongNode.id = 'wh-trans-icon';
|
||||
zhongNode.classList.add('cont-gray');
|
||||
zhongNode.innerHTML = ZHONG_MENU_HTML.replace('{{}}', version.slice(-1) === '$' ? 'DEV' : version);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user