From 53a8080b06485a70ee44d1f59e1170f628c2fa38 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期五, 07 三月 2025 14:46:09 +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