|
|
@@ -400,7 +400,7 @@ export default {
|
|
|
},
|
|
|
mounted() {
|
|
|
this.$store.dispatch('getUsedBuy');
|
|
|
- this.$store.dispatch('getTime');
|
|
|
+ // this.$store.dispatch('getTime');
|
|
|
this.$store.dispatch('getUserInfo');
|
|
|
console.log(this.$route.params);
|
|
|
if (this.$route.params.id) {
|
|
|
@@ -606,7 +606,14 @@ export default {
|
|
|
// this.goAuth();
|
|
|
// });
|
|
|
// }
|
|
|
- else {
|
|
|
+ else if (this.info.minimumCharge && !this.$store.state.userInfo.canSale) {
|
|
|
+ this.$dialog
|
|
|
+ .alert({
|
|
|
+ title: '提示',
|
|
|
+ message: '未实名或规定时间内绿洲石不满' + this.info.minimumCharge
|
|
|
+ })
|
|
|
+ .then(() => {});
|
|
|
+ } else {
|
|
|
this.$router.push({
|
|
|
path: '/submit',
|
|
|
query: {
|