Поправка для автоматического отображения справки
This commit is contained in:
@@ -285,7 +285,9 @@ class BookmarkSettings extends BookmarkSettingsProps {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (result && result.value && result.value.toLowerCase() == 'да') {
|
if (result && result.value && result.value.toLowerCase() == 'да') {
|
||||||
this.$emit('do-action', {action: 'setLibs', data: _.cloneDeep(rstore.libsDefaults)});
|
this.$emit('do-action', {action: 'setLibs', data: _.cloneDeep(
|
||||||
|
Object.assign({helpShowed: true}, rstore.libsDefaults)
|
||||||
|
)});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -371,6 +371,14 @@ class ExternalLibs extends Vue {
|
|||||||
loadLibs() {
|
loadLibs() {
|
||||||
const libs = this.libs;
|
const libs = this.libs;
|
||||||
|
|
||||||
|
if (!libs.helpShowed) {
|
||||||
|
this.showHelp();
|
||||||
|
(async() => {
|
||||||
|
await utils.sleep(1000);
|
||||||
|
this.commitProp('helpShowed', true);
|
||||||
|
})();
|
||||||
|
}
|
||||||
|
|
||||||
this.selectedLink = libs.startLink;
|
this.selectedLink = libs.startLink;
|
||||||
this.closeAfterSubmit = libs.closeAfterSubmit || false;
|
this.closeAfterSubmit = libs.closeAfterSubmit || false;
|
||||||
this.openInFrameOnEnter = libs.openInFrameOnEnter || false;
|
this.openInFrameOnEnter = libs.openInFrameOnEnter || false;
|
||||||
|
|||||||
Reference in New Issue
Block a user