From 7ac13d34f5c0eeaa2f5ee1351bee4ccd7d0098da Mon Sep 17 00:00:00 2001
From: gaoluyang <gaoluyang@rengu.cc>
Date: 星期二, 11 二月 2025 14:32:48 +0800
Subject: [PATCH] 全局JSON.parse(JSON.stringify(val))配置
---
src/main.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/main.js b/src/main.js
index 13c6cf2..2be086c 100644
--- a/src/main.js
+++ b/src/main.js
@@ -48,6 +48,9 @@
Vue.prototype.selectDictLabels = selectDictLabels
Vue.prototype.download = download
Vue.prototype.handleTree = handleTree
+Vue.prototype.HaveJson = (val) => {
+ return JSON.parse(JSON.stringify(val))
+}
// 鍏ㄥ眬缁勪欢鎸傝浇
Vue.component('DictTag', DictTag)
--
Gitblit v1.9.3