panhui 3 년 전
부모
커밋
8c9dfeb835
1개의 변경된 파일16개의 추가작업 그리고 3개의 파일을 삭제
  1. 16 3
      src/components/Post.vue

+ 16 - 3
src/components/Post.vue

@@ -149,15 +149,28 @@ export default {
             if (this.isLogin && this.assignment && pageUrl === 'productDetail') {
             if (this.isLogin && this.assignment && pageUrl === 'productDetail') {
                 return resolveUrl(
                 return resolveUrl(
                     this.$baseUrl,
                     this.$baseUrl,
-                    '9th/productTasks?id=' + id + '&invitor=' + this.$store.state.userInfo.id
+                    'sass' +
+                        '/' +
+                        this.$route.params.companyId +
+                        '/productTasks?id=' +
+                        id +
+                        '&invitor=' +
+                        this.$store.state.userInfo.id
                 );
                 );
             } else if (this.isLogin) {
             } else if (this.isLogin) {
                 return resolveUrl(
                 return resolveUrl(
                     this.$baseUrl,
                     this.$baseUrl,
-                    '9th/' + pageUrl + '?id=' + id + '&invitor=' + this.$store.state.userInfo.id
+                    'sass/' +
+                        this.$route.params.companyId +
+                        '/' +
+                        pageUrl +
+                        '?id=' +
+                        id +
+                        '&invitor=' +
+                        this.$store.state.userInfo.id
                 );
                 );
             } else {
             } else {
-                return resolveUrl(this.$baseUrl, '9th/' + pageUrl + '?id=' + id);
+                return resolveUrl(this.$baseUrl, 'sass/' + this.$route.params.companyId + '/' + pageUrl + '?id=' + id);
             }
             }
         },
         },
         banners() {
         banners() {