版本更新
This commit is contained in:
parent
4a6a2b86c7
commit
a2a54d9043
@ -3,6 +3,11 @@
|
||||
|
||||
# change
|
||||
|
||||
## 0.3.38
|
||||
2022年06月25日
|
||||
### 修改
|
||||
- 错误修复
|
||||
|
||||
## 0.3.37
|
||||
2022年06月25日
|
||||
### 添加
|
||||
|
||||
2
build.js
2
build.js
@ -1,7 +1,7 @@
|
||||
let fs = require('fs');
|
||||
|
||||
let date = new Date();
|
||||
let version = '0.3.37';
|
||||
let version = '0.3.38';
|
||||
let head = `// ==UserScript==
|
||||
// @lastmodified ${date.getFullYear()}${('0' + (date.getMonth() + 1)).slice(-2)}${('0' + date.getDate()).slice(-2)}${('0' + date.getHours()).slice(-2)}${('0' + date.getMinutes()).slice(-2)}
|
||||
// @name 芜湖助手
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -11,7 +11,6 @@
|
||||
if (window.WHTRANS) return;
|
||||
window.WHTRANS = true;
|
||||
const version = '$$WUHU_DEV_VERSION$$';
|
||||
if (!getUserState()['isLoggedIn']) return;
|
||||
const isIframe = self !== top;
|
||||
const $ = window['jQuery'];
|
||||
// PDA
|
||||
@ -9868,8 +9867,8 @@ z-index:100001;
|
||||
function getUserState() {
|
||||
let obj = {};
|
||||
let hdd = sessionStorage['headerData'];
|
||||
if (!hdd) return;
|
||||
if (hdd) obj = JSON.parse(hdd)['user']['state'];
|
||||
console.info({obj})
|
||||
return obj;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user