update lib/config/config.js.
Signed-off-by: touchscale <11134128+touchscale@user.noreply.gitee.com>
This commit is contained in:
parent
bf040b15e2
commit
c17670701a
|
@ -62,6 +62,10 @@ class Cfg {
|
||||||
return this.getConfig('renderer');
|
return this.getConfig('renderer');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get notice() {
|
||||||
|
return this.getConfig('notice');
|
||||||
|
}
|
||||||
|
|
||||||
/** 主人qq */
|
/** 主人qq */
|
||||||
get masterQQ () {
|
get masterQQ () {
|
||||||
let masterQQ = this.getConfig('other').masterQQ || []
|
let masterQQ = this.getConfig('other').masterQQ || []
|
||||||
|
@ -99,6 +103,13 @@ class Cfg {
|
||||||
return { ...def, ...config }
|
return { ...def, ...config }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** notice配置 */
|
||||||
|
getOther () {
|
||||||
|
let def = this.getdefSet('notice')
|
||||||
|
let config = this.getConfig('notice')
|
||||||
|
return { ...def, ...config }
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param app 功能
|
* @param app 功能
|
||||||
* @param name 配置文件名称
|
* @param name 配置文件名称
|
||||||
|
|
Loading…
Reference in New Issue