panhui 4 ani în urmă
părinte
comite
e4c9ab8fa5
1 a modificat fișierele cu 4 adăugiri și 1 ștergeri
  1. 4 1
      src/main/comos/src/views/account/Agreement.vue

+ 4 - 1
src/main/comos/src/views/account/Agreement.vue

@@ -16,8 +16,11 @@ export default {
     },
     mounted() {
         let page = this.$route.query.page || 'privacy';
-        this.$http.get(`/${page}.html`).then(res => {
+        this.$http.get(`/${page}.html?projectId=${this.$store.state.projectId}`).then(res => {
             let contents = res.split('<body>')[1].split('</body>');
+            contents[0] = contents[0].replace(/第九空间/g, 'Cosmos Art');
+            contents[0] = contents[0].replace(/麦塔沃司/g, '振耀文化');
+            contents[0] = contents[0].replace(/广州麦塔沃司信息技术有限公司/g, '广州振耀中亚文化发展有限公司');
             this.detail = contents[0];
         });
     },