fix 0.2.71
This commit is contained in:
1 parent
197a5f25c8
commit
570c7f5512
8 files changed
+18
-12
No files matched your search
+8
-4
@@ -130,10 +130,14 @@ export class CGSelect implements ICgSelect {
|
||||
* }
|
||||
*/
|
||||
constructor(setting: ICgSelect) {
|
||||
this.init(setting);
|
||||
this.render();
|
||||
this.closeSelectClick();
|
||||
this.initEvent();
|
||||
if (setting) {
|
||||
this.init(setting);
|
||||
this.render();
|
||||
this.closeSelectClick();
|
||||
this.initEvent();
|
||||
} else {
|
||||
throw new Error('Specify settings!');
|
||||
}
|
||||
}
|
||||
|
||||
//Getters
|
||||
|
||||
Reference in new issue
Block a user