perf: help信息迁移到public中

This commit is contained in:
feng626
2021-11-17 15:40:45 +08:00
committed by 老广
parent b1eef7d2f3
commit c6988578cb

View File

@@ -32,11 +32,8 @@ export default {
}, },
methods: { methods: {
initHelpURL() { initHelpURL() {
const url = '/api/v1/settings/setting/?category=other' this.URLSite.HELP_DOCUMENT_URL = this.$store.getters.publicSettings.HELP_DOCUMENT_URL
this.$axios.get(url).then(resp => { this.URLSite.HELP_SUPPORT_URL = this.$store.getters.publicSettings.HELP_SUPPORT_URL
this.URLSite.HELP_DOCUMENT_URL = resp.HELP_DOCUMENT_URL
this.URLSite.HELP_SUPPORT_URL = resp.HELP_SUPPORT_URL
})
}, },
handleCommand(command) { handleCommand(command) {
switch (command) { switch (command) {