From 3549664a0f52a6a481282c8ee69f44b213a95e47 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Wed, 23 Oct 2024 15:32:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BB=A3=E5=AE=A2=E4=B8=8B?= =?UTF-8?q?=E5=8D=95=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesCreateOrder/index/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pagesCreateOrder/index/index.vue b/pagesCreateOrder/index/index.vue index 1f4eaef..7ca058c 100644 --- a/pagesCreateOrder/index/index.vue +++ b/pagesCreateOrder/index/index.vue @@ -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('允许下单')