|
|
@@ -395,25 +395,25 @@ export default {
|
|
|
this.$http.get('/order/checkLimit', { collectionId: this.$route.query.id }).then(res => {
|
|
|
this.limit = res;
|
|
|
});
|
|
|
- if (this.isLogin) {
|
|
|
- this.$http
|
|
|
- .post(
|
|
|
- '/order/all',
|
|
|
- {
|
|
|
- query: {
|
|
|
- userId: this.$store.state.userInfo.id,
|
|
|
- collectionId: this.$route.query.id,
|
|
|
- status: 'NOT_PAID'
|
|
|
- }
|
|
|
- },
|
|
|
- { body: 'json' }
|
|
|
- )
|
|
|
- .then(res => {
|
|
|
- if (!res.empty) {
|
|
|
- this.noPay = true;
|
|
|
- }
|
|
|
- });
|
|
|
- }
|
|
|
+ // if (this.isLogin) {
|
|
|
+ // this.$http
|
|
|
+ // .post(
|
|
|
+ // '/order/all',
|
|
|
+ // {
|
|
|
+ // query: {
|
|
|
+ // userId: this.$store.state.userInfo.id,
|
|
|
+ // collectionId: this.$route.query.id,
|
|
|
+ // status: 'NOT_PAID'
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // { body: 'json' }
|
|
|
+ // )
|
|
|
+ // .then(res => {
|
|
|
+ // if (!res.empty) {
|
|
|
+ // this.noPay = true;
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+ // }
|
|
|
},
|
|
|
methods: {
|
|
|
preview(index = 0, list = []) {
|