From 1ec5d4cac10c700df9998da7b42d986ba6387028 Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期二, 10 十月 2023 15:41:08 +0800
Subject: [PATCH] #优化

---
 src/main/webapp/static/js/cstmr/cstmr.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/static/js/cstmr/cstmr.js b/src/main/webapp/static/js/cstmr/cstmr.js
index 72a29d9..0537c31 100644
--- a/src/main/webapp/static/js/cstmr/cstmr.js
+++ b/src/main/webapp/static/js/cstmr/cstmr.js
@@ -433,8 +433,10 @@
                 });
             },
             on: function (data) {
+                console.log(data)
                 let arr = data.arr
-                if (arr.length > 0) {
+                let change = data.change;
+                if (arr.length > 0 && change.length>0) {
                     let name = arr[0].name;
                     $.ajax({
                         url: baseUrl + "/cstmr/name/check/auth",

--
Gitblit v1.9.1