mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
chore(view) return
This commit is contained in:
parent
f56035caa3
commit
279fa2ff20
1 changed files with 4 additions and 2 deletions
|
|
@ -169,8 +169,10 @@ function initConfig(Config, options) {
|
|||
const item = options[name];
|
||||
const isFunc = itype.function(item);
|
||||
|
||||
if (!isFunc || !isConfig)
|
||||
return config[name] = options[name];
|
||||
if (!isFunc || !isConfig) {
|
||||
config[name] = options[name];
|
||||
return;
|
||||
}
|
||||
|
||||
const func = config[name];
|
||||
config[name] = () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue