7.15(优化
This commit is contained in:
@@ -59,7 +59,8 @@
|
||||
|
||||
<script>
|
||||
import {
|
||||
getSendCode
|
||||
getSendCode,
|
||||
updateGetuiCid
|
||||
} from '@/api/login';
|
||||
export default {
|
||||
data() {
|
||||
@@ -175,17 +176,23 @@
|
||||
uni.setStorageSync('userType', 'repair')
|
||||
uni.switchTab({
|
||||
url: '/pages/tab/tab'
|
||||
// url: '/pages/repair/tabbar/repair'
|
||||
})
|
||||
})
|
||||
} else if (this.form.sid == 'carDealers') {
|
||||
this.$store.dispatch('CarShopLogin', this.form).then(res => {
|
||||
console.log(res, 'dddddd');
|
||||
uni.getPushClientId({
|
||||
success: (res) => {
|
||||
updateGetuiCid(res.cid).then(res=>{
|
||||
})
|
||||
},
|
||||
fail(err) {
|
||||
console.log(err)
|
||||
}
|
||||
})
|
||||
uni.hideLoading()
|
||||
uni.setStorageSync('userType', 'carDealers')
|
||||
uni.switchTab({
|
||||
url: '/pages/tab/tab'
|
||||
// url: '/pages/carShop/community/community'
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user