Fix bug
This commit is contained in:
parent
83bbd6b64f
commit
39d05b75db
|
@ -53,9 +53,12 @@ export default define({
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
setting() {
|
setting() {
|
||||||
this.props.url =window.prompt('URL', this.props.url);
|
const url = window.prompt('URL', this.props.url);
|
||||||
this.save();
|
if (url && url != '') {
|
||||||
this.fetch();
|
this.props.url = url;
|
||||||
|
this.save();
|
||||||
|
this.fetch();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue