diff --git a/src/App.vue b/src/App.vue index 6d6041a..66c490a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -20,11 +20,11 @@ export default { } }, created() { - this.$httpApi - .loginAdminTest({ loginname: 'admin', pwd: '123456' }) - .then((res) => { - console.log(res) - }) + // this.$httpApi + // .loginAdminTest({ loginname: 'admin', pwd: '123456' }) + // .then((res) => { + // console.log(res) + // }) }, mounted() {}, methods: { diff --git a/src/components/rightslider/richtextstyle/index.vue b/src/components/rightslider/richtextstyle/index.vue index cb44493..5285e00 100644 --- a/src/components/rightslider/richtextstyle/index.vue +++ b/src/components/rightslider/richtextstyle/index.vue @@ -111,7 +111,7 @@ export default { // 获取数据 var res = JSON.parse(xhr.response) if (res.success != true) return failFun('HTTP Error: ' + res.msg) - succFun(res.result) + succFun(res.data.src) } xhr.send(formData) }, diff --git a/vue.config.js b/vue.config.js index 47a85b8..cf21ff7 100644 --- a/vue.config.js +++ b/vue.config.js @@ -12,7 +12,7 @@ module.exports = { open: true, proxy: { '/api': { - target: 'https://player.okgene.work/', + target: 'http://api.aseditor.fun/', ws: true, changeOrigin: true, pathRewrite: {