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 @@
- - 查看{{skinlabel}}站点 + 提交 + 查看{{skinlabel}}站点
@@ -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'}); }