This commit is contained in:
Liwanyi 2022-10-24 17:45:08 +08:00
parent acc995c4a2
commit c51a050256
5 changed files with 25 additions and 14 deletions

View File

@ -4,6 +4,16 @@
# CHANGE # CHANGE
## 0.6.3
2022年10月24日
### 修改
- 公司助手-火车检测时区检测完善
- 飞行闹钟目的地完善
- UI修改
## 0.6.2 ## 0.6.2
2022年10月20日 2022年10月20日

View File

@ -1,6 +1,6 @@
{ {
"name": "wuhu-torn-helper", "name": "wuhu-torn-helper",
"version": "0.6.2", "version": "0.6.3",
"description": "芜湖助手", "description": "芜湖助手",
"dependencies": {}, "dependencies": {},
"scripts": { "scripts": {

File diff suppressed because one or more lines are too long

View File

@ -414,13 +414,13 @@ export default class SettingsHandler extends WuhuBase {
tip: '点击4条时转跳对应页面', tip: '点击4条时转跳对应页面',
}); });
// 清除多余的脚本 // 清除多余的脚本
list.push({ // list.push({
domType: 'checkbox', // domType: 'checkbox',
domId: '', // domId: '',
domText: ' 清除多余的脚本', // domText: ' 清除多余的脚本',
dictName: 'removeScripts', // dictName: 'removeScripts',
tip: '清除Google相关脚本、顶部横幅等', // tip: '清除Google相关脚本、顶部横幅等',
}); // });
// dev // dev
list.push({ list.push({
domType: 'checkbox', domType: 'checkbox',

View File

@ -21,6 +21,7 @@ export default function priceWatcherHandle(isPDA: boolean, PDA_APIKey: string) {
// pt价格监视 // pt价格监视
async function priceWatcherPt(apikey, lower_price, priceWatcher) { async function priceWatcherPt(apikey, lower_price, priceWatcher) {
Log.info('pt价格监视开始', { apikey: typeof apikey, lower_price, priceWatcher });
if (!priceWatcher['watch-pt-lower-id']) priceWatcher['watch-pt-lower-id'] = []; if (!priceWatcher['watch-pt-lower-id']) priceWatcher['watch-pt-lower-id'] = [];
const res = await window.fetch('https://api.torn.com/market/?selections=pointsmarket&key=' + apikey); const res = await window.fetch('https://api.torn.com/market/?selections=pointsmarket&key=' + apikey);
const obj = await res.json(); const obj = await res.json();