mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-18 06:07:34 +00:00
修改api调用顺序
This commit is contained in:
parent
f719a934ac
commit
67a26cb72e
3 changed files with 27 additions and 19 deletions
|
|
@ -2,7 +2,7 @@ import settings from '../settings.js'
|
|||
import { ENKA_API } from './api.js'
|
||||
import _ from 'lodash'
|
||||
|
||||
const useEnka = _.get(settings.getConfig('config'), 'useEnka', true);
|
||||
const useEnka = _.get(settings.getConfig('panel'), 'useEnka', true);
|
||||
export async function getZzzEnkaData(uid) {
|
||||
if (useEnka) {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue