修复代客下单报错问题
This commit is contained in:
parent
48c01df8d0
commit
3549664a0f
|
|
@ -158,7 +158,7 @@
|
|||
reactive,
|
||||
ref,
|
||||
nextTick,
|
||||
watch
|
||||
watch,getCurrentInstance
|
||||
} from 'vue';
|
||||
import myCar from './components/car'
|
||||
import go from '@/commons/utils/go.js';
|
||||
|
|
@ -173,6 +173,7 @@
|
|||
tbShopInfo
|
||||
} from '@/http/yskApi/user.js'
|
||||
import {hasPermission} from '@/commons/utils/hasPermission.js'
|
||||
const instance = getCurrentInstance();
|
||||
let canXiadan=ref(false)
|
||||
async function xiadanClick(){
|
||||
canXiadan.value=await hasPermission('允许下单')
|
||||
|
|
|
|||
Loading…
Reference in New Issue