登录后路径重置
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
</div>
|
||||
|
||||
<fixed-bottom ref="fixedBottom">
|
||||
<button class="merit-button" @click="showSpec = true">{{data.pay_name}}</button>
|
||||
<button class="merit-button" @click="onHasLoginToNext">{{data.pay_name}}</button>
|
||||
</fixed-bottom>
|
||||
|
||||
<van-popup v-model="showSpec" position="bottom" closeable :style="{ height: 'auto' }" safe-area-inset-bottom :close-on-click-overlay="false" :close-on-popstate="true">
|
||||
@@ -76,7 +76,7 @@
|
||||
<script>
|
||||
import 'swiper/css/swiper.css'
|
||||
import { swiper, swiperSlide } from 'vue-awesome-swiper'
|
||||
import { getGoodsDetail, getOrderCompare } from '@/api';
|
||||
import { getGoodsDetail, getOrderCompare, hasLogin } from "@/api";
|
||||
import SelectSpec from './components/select-spec.vue'
|
||||
import FillInformation from './components/fill-information.vue';
|
||||
|
||||
@@ -145,6 +145,10 @@ export default {
|
||||
this.getGoodsDetail('common');
|
||||
},
|
||||
methods: {
|
||||
async onHasLoginToNext(){
|
||||
await hasLogin();
|
||||
this.showSpec = true
|
||||
},
|
||||
// 接收随喜金额
|
||||
onReceiveAnyAmount(anyObj){
|
||||
this.anyPrice = anyObj.money;
|
||||
|
||||
Reference in New Issue
Block a user