Kaynağa Gözat

Merge branch 'yuan' of panhui/lasuo_nft_front into dev

yuanyuan 3 yıl önce
ebeveyn
işleme
92ef9fb1dd

+ 2 - 2
src/components/product/HashCode.vue

@@ -9,7 +9,7 @@
                     {{ getShort(info.txHash) || getShort('b3af1f7e02633960365ddf532a4008ed' + info.id)}}
                     {{ getShort(info.txHash) || getShort('b3af1f7e02633960365ddf532a4008ed' + info.id)}}
                 </div>
                 </div>
                 <img
                 <img
-                    @click="copy(info.txHash)"
+                    @click="copy(info.txHash || 'b3af1f7e02633960365ddf532a4008ed' + info.id)"
                     src="@assets/svgs/copy_icon.svg"
                     src="@assets/svgs/copy_icon.svg"
                     alt=""
                     alt=""
                     class="information_on_the_chain_content_img"
                     class="information_on_the_chain_content_img"
@@ -27,7 +27,7 @@
                     {{ getShort(info.tokenId) || getShort('3d21c7cc9c4fae809857aba0464f3461876f640d6ffb91927b3db12d86449345' + info.id)}}
                     {{ getShort(info.tokenId) || getShort('3d21c7cc9c4fae809857aba0464f3461876f640d6ffb91927b3db12d86449345' + info.id)}}
                 </div>
                 </div>
                 <img
                 <img
-                    @click="copy(info.txHash)"
+                    @click="copy(info.txHash || '3d21c7cc9c4fae809857aba0464f3461876f640d6ffb91927b3db12d86449345' + info.id)"
                     src="@assets/svgs/copy_icon.svg"
                     src="@assets/svgs/copy_icon.svg"
                     alt=""
                     alt=""
                     class="information_on_the_chain_content_img"
                     class="information_on_the_chain_content_img"

+ 1 - 1
src/views/product/Detail.vue

@@ -807,7 +807,7 @@ export default {
         // 藏品预约
         // 藏品预约
         appointment() {
         appointment() {
             console.log('121212', typeof this.info.id);
             console.log('121212', typeof this.info.id);
-            let data = { userId: this.userInfo.id, collectionId: this.info.id };
+            let data = {collectionId: this.info.id, userId: this.userInfo.id};
             this.$http
             this.$http
                 .post('subscribe/makeAnAppointment', data)
                 .post('subscribe/makeAnAppointment', data)
                 .then(res => {})
                 .then(res => {})