mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-17 05:37:46 +00:00
锅巴映射enka按钮
This commit is contained in:
parent
1411468ab0
commit
53148aac0e
4 changed files with 8 additions and 2 deletions
|
|
@ -67,7 +67,7 @@ export class Panel extends ZZZPlugin {
|
|||
}
|
||||
|
||||
this.result = null;
|
||||
const useEnka = _.get(settings.getConfig('config'), 'useEnka', true); // 读取配置,Enka 优先
|
||||
const useEnka = _.get(settings.getConfig('panel'), 'useEnka', true); // 读取配置,Enka 优先
|
||||
logger.mark(`[panel.js] useEnka 设置值: ${useEnka}`);
|
||||
|
||||
if (useEnka) {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
render:
|
||||
scale: 100 # 渲染精度
|
||||
useEnka: false # 使用enka接口查询
|
||||
query:
|
||||
others: true # 允许查询他人信息
|
||||
update:
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
useEnka: false # 使用enka接口查询
|
||||
interval: 60 # 刷新面板的时间间隔(单位:秒)
|
||||
roleInterval: 3 # 查询每个角色的间隔时间(单位:秒)
|
||||
|
|
@ -162,6 +162,12 @@ export function supportGuoba() {
|
|||
component: 'Divider',
|
||||
label: '面板设置',
|
||||
},
|
||||
{
|
||||
field: 'panel.useEnka',
|
||||
label: 'enka查询',
|
||||
bottomHelpMessage: '是否使用enka接口查询',
|
||||
component: 'Switch',
|
||||
},
|
||||
{
|
||||
field: 'panel.interval',
|
||||
label: '冷却时间',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue