From 2fccda499f6da8dd1608ddc9ad45edc8dc07cfea Mon Sep 17 00:00:00 2001 From: wen <1515> Date: Sat, 29 Oct 2022 14:53:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9A=AE=E8=82=A4=E6=9B=B4?= =?UTF-8?q?=E6=8D=A2=E8=AF=B7=E6=B1=82=E6=8E=A5=E5=8F=A3=EF=BC=8C=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E5=9B=BE=E7=89=87=E5=9C=B0=E5=9D=80=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 2 +- src/views/systme/switchtheme.vue | 20 ++++++++++++++------ 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.env.production b/.env.production index 4a33f03..db845f0 100644 --- a/.env.production +++ b/.env.production @@ -5,4 +5,4 @@ ENV = 'production' VUE_APP_BASE_API = '/prod-api' # base imgurl -VUE_APP_IMG_URL = 'https://dev.filesite.io' \ No newline at end of file +VUE_APP_IMG_URL = '/' \ No newline at end of file diff --git a/src/views/systme/switchtheme.vue b/src/views/systme/switchtheme.vue index 1b2eb7d..e0c63a5 100644 --- a/src/views/systme/switchtheme.vue +++ b/src/views/systme/switchtheme.vue @@ -12,8 +12,8 @@
@@ -33,23 +33,24 @@ export default { options: [{ value: 'manual', label: '文档站', - link:'https://Filesite.io' + link:'/' }, { value: 'webdirectory', label: '导航站', - link:'https://WebDirectory.filesite.io' + link:'/' }, { value: 'googleimage', label: '图片站', - link:'https://googleimage.filesite.io/' + link:'/' }, { value: 'videoblog', label: '视频站', - link:'https://Duan.Filesite.io' + link:'/' }], skinvalue: '', skinlabel:'', skinLink: '', + skinAsk: false, skinloading:false, skinForm:{ @@ -57,6 +58,12 @@ export default { } } }, + + // 实例还没挂载 + created() { + //this.skinSubmit(); + //console.log(this.imgurl); + }, methods: { skinSubmit() { let thiss = this; @@ -69,6 +76,7 @@ export default { thiss.$message({showClose: true,message: datamain.msg,type: 'success'}); //this.subloading = false; + this.skinAsk = true; } else { thiss.$message({showClose: true,message: datamain.err,type: 'error'}); }