mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
refactor(config) change
This commit is contained in:
parent
1bde7dcff0
commit
64c5f477ef
1 changed files with 4 additions and 2 deletions
|
|
@ -131,8 +131,10 @@ var CloudCmd, Util, DOM;
|
|||
data = el.value;
|
||||
|
||||
obj[name] = data;
|
||||
CONFIG[name] = data;
|
||||
CloudCmd.setConfig(CONFIG);
|
||||
|
||||
CloudCmd.setConfig(CONFIG, function() {
|
||||
CONFIG[name] = data;
|
||||
});
|
||||
|
||||
DOM.RESTful.config(obj);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue