From c5b2c61655114315cf8d81d9cbc37e68c0d8d4a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=A5=A5=E6=96=AF?= <9068149@qq.com> Date: Thu, 25 Nov 2021 16:45:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=8D=A2=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 10 +++++----- src/components/rightslider/richtextstyle/index.vue | 2 +- vue.config.js | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) 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: {