Sfoglia il codice sorgente

fix present and security verify

jason.lu 6 anni fa
parent
commit
be7ac61029

+ 2 - 2
sourcecode/h5app/vue/src/views/giftDetail.vue

@@ -105,7 +105,7 @@
                     duration: 500
                 });
                 let p = this.myPresent;
-                this.$router.push({path: 'presentRegister', query: {present: p}});
+                this.$router.push({path: 'presentRegister', query: {presentId: p.id}});
             },
             deletePresent: function() {
                 Dialog.confirm({
@@ -116,7 +116,7 @@
                     Toast.loading({
                         mask: true,
                         message: '加载中...',
-                        duration: 500
+                        duration: 1000
                     });
                     let that = this;
                     BasicFunction.get_data("smartGoods/list?goodid=" + this.myPresent.id, function (response) {

+ 1 - 1
sourcecode/h5app/vue/src/views/index.vue

@@ -144,7 +144,7 @@
                     });
                     let present = this.presents[i];
                     this.$router.push({
-                        path: 'giftDetail', query: {present: present}
+                        path: 'giftDetail', query: {presentId: present.id}
                     });
                 }
             },