From 83206a4017aa82e1658208cb55b78833e35deac7 Mon Sep 17 00:00:00 2001
From: Mr.Shi <1878285526@qq.com>
Date: 星期一, 11 九月 2023 18:15:51 +0800
Subject: [PATCH] 小程序
---
minipro_standard/common/config.js | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/minipro_standard/common/config.js b/minipro_standard/common/config.js
index 529495d..c1b5459 100644
--- a/minipro_standard/common/config.js
+++ b/minipro_standard/common/config.js
@@ -9,6 +9,15 @@
decimal: /^0$|^[1-9]\d{0,15}$|^[1-9]\d{0,15}\.{1}\d{1,4}$|^0\.{1}\d{1,4}$/g,
positiveIntegerDecimal: /^([1-9][0-9]*|0)(\.[0-9]?[1-9][1-9][1-9])?$/,
number: /^\d+(?:\.\d{1,4})?$/,
+ fileType: [
+ { name: '.png', type: 2 },
+ { name: '.PNG', type: 2 },
+ { name: '.jpg', type: 2 },
+ { name: '.JPG', type: 2 },
+ { name: '.jpeg', type: 2 },
+ { name: '.JPEG', type: 2 },
+ { name: '.mp4', type: 1 }
+ ],
Attribute: {
HH: 'APPLIANCE_MIX',
HG: 'APPLIANCE_ONTEST',
--
Gitblit v1.9.3