mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
fix(config) change config before setConfig
This commit is contained in:
parent
444eb6041e
commit
1d42aed7eb
1 changed files with 2 additions and 3 deletions
|
|
@ -136,9 +136,8 @@ var CloudCmd, Util, DOM;
|
|||
Notify.request();
|
||||
}
|
||||
|
||||
CloudCmd.setConfig(CONFIG, function() {
|
||||
CONFIG[name] = data;
|
||||
});
|
||||
CONFIG[name] = data;
|
||||
CloudCmd.setConfig(CONFIG);
|
||||
|
||||
DOM.RESTful.config(obj);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue