panhui 3 tahun lalu
induk
melakukan
8c9dfeb835
1 mengubah file dengan 16 tambahan dan 3 penghapusan
  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') {
                 return resolveUrl(
                     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) {
                 return resolveUrl(
                     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 {
-                return resolveUrl(this.$baseUrl, '9th/' + pageUrl + '?id=' + id);
+                return resolveUrl(this.$baseUrl, 'sass/' + this.$route.params.companyId + '/' + pageUrl + '?id=' + id);
             }
         },
         banners() {