From 5c5465e7718a84d5b2a39f4e5fae7d220bd4d8ed Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 05 三月 2025 10:13:14 +0800
Subject: [PATCH] 检验任务复核检验任务下载报告,下载的内容以后缀.htm形式出现
---
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