From 350d5d8b98ddfbca4149dc46e9c2c63c5e4ed1d9 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期三, 05 三月 2025 11:40:12 +0800 Subject: [PATCH] 下单传参修改 --- src/main.js | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main.js b/src/main.js index beaf8ef..96827ef 100644 --- a/src/main.js +++ b/src/main.js @@ -50,7 +50,7 @@ import { checkPermi } from "@/utils/permission"; // 鏉冮檺鍒ゆ柇鍑芥暟 import { getToken } from "@/utils/auth"; // 鏃堕棿杞崲 -import Moment from 'moment' +import Moment from "moment"; // 鍏ㄥ眬鏂规硶鎸傝浇 Vue.prototype.getDicts = getDicts; @@ -74,16 +74,16 @@ Authorization: "Bearer " + getToken(), }; // 瑙e喅el-radio-group鍗曢�夋鑷韩鐨刡ug -Vue.directive('removeAriaHidden', { +Vue.directive("removeAriaHidden", { bind(el, binding) { - let ariaEls = el.querySelectorAll('.el-radio__original'); + let ariaEls = el.querySelectorAll(".el-radio__original"); ariaEls.forEach((item) => { - item.removeAttribute('aria-hidden'); + item.removeAttribute("aria-hidden"); }); - } -}) -Vue.use(Moment) -Vue.prototype.$moment = Moment + }, +}); +Vue.use(Moment); +Vue.prototype.$moment = Moment; // 鍏ㄥ眬缁勪欢鎸傝浇 Vue.component("DictTag", DictTag); -- Gitblit v1.9.3