From 393f4f391b02acfe07f105894f1c6ab568965b64 Mon Sep 17 00:00:00 2001
From: mch <1332099529@qq.com>
Date: Mon, 7 Aug 2023 10:04:22 +0800
Subject: [PATCH] =?UTF-8?q?=E9=A2=9C=E8=89=B2=E9=80=89=E6=8B=A9=E5=99=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/utlis/validate.js | 11 ++++-
src/views/basic-dictionary/ResultStatus.vue | 52 +++++++++++++++++----
2 files changed, 53 insertions(+), 10 deletions(-)
diff --git a/src/utlis/validate.js b/src/utlis/validate.js
index 8a60bdf..7426e71 100644
--- a/src/utlis/validate.js
+++ b/src/utlis/validate.js
@@ -33,7 +33,7 @@ export const yzstr = (value) => {
if (!reg.test(s1)) {
isyz = false;
} else {
- isyz = true;
+ isyz = true;
}
} else {
//失败
@@ -46,4 +46,11 @@ export const yzstr = (value) => {
//正则校验密码
const regex = /^.{6,15}$/;
export const isValid = regex.test();
-console.log(isValid);
\ No newline at end of file
+console.log(isValid);
+//颜色转换
+// export const Contrcolro = function (v) {
+// // 去除开头的#号
+// hexColor = hexColor.substring(v);
+// // 转换为十进制
+// this.form.reportBackgroundColor = parseInt(hexColor, 16);
+// }
\ No newline at end of file
diff --git a/src/views/basic-dictionary/ResultStatus.vue b/src/views/basic-dictionary/ResultStatus.vue
index 926ae5e..1afbf6d 100644
--- a/src/views/basic-dictionary/ResultStatus.vue
+++ b/src/views/basic-dictionary/ResultStatus.vue
@@ -105,12 +105,14 @@
prop="reportBackgroundColor"
>
-->