From c5eb7458c8456664f1b3960401a0ce737824f3ea Mon Sep 17 00:00:00 2001
From: huyupeng <huyupeng@cndatacom.com>
Date: Mon, 01 Aug 2022 14:52:18 +0800
Subject: [PATCH] fix: 处理XSS攻击问题(#I5IRC8)

---
 ruoyi-ui/src/utils/generator/js.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ruoyi-ui/src/utils/generator/js.js b/ruoyi-ui/src/utils/generator/js.js
index 81afc70..be760aa 100644
--- a/ruoyi-ui/src/utils/generator/js.js
+++ b/ruoyi-ui/src/utils/generator/js.js
@@ -98,7 +98,7 @@
         close: `close() {
         this.$emit('update:visible', false)
       },`,
-        handelConfirm: `handelConfirm() {
+        handleConfirm: `handleConfirm() {
         this.$refs['${confGlobal.formRef}'].validate(valid => {
           if(!valid) return
           this.close()

--
Gitblit v1.9.3