|
@@ -244,7 +244,7 @@ const _sfc_main = {
|
|
|
};
|
|
};
|
|
|
const handleValidate = () => {
|
|
const handleValidate = () => {
|
|
|
const reName = /^[\u4e00-\u9fa5]{2,4}$/;
|
|
const reName = /^[\u4e00-\u9fa5]{2,4}$/;
|
|
|
- const rePhone = /^[1][3,4,5,7,8,9][0-9]{9}$/;
|
|
|
|
|
|
|
+ const rePhone = /^1[3-9]\d{9}$/;
|
|
|
const reProjectAmount = /^[+]?([0-9]+(?:[.][0-9]*)?|\.[0-9]+)$/;
|
|
const reProjectAmount = /^[+]?([0-9]+(?:[.][0-9]*)?|\.[0-9]+)$/;
|
|
|
if (name.value == "") {
|
|
if (name.value == "") {
|
|
|
common_vendor.index.showToast({
|
|
common_vendor.index.showToast({
|
|
@@ -474,6 +474,7 @@ const _sfc_main = {
|
|
|
i: common_vendor.o(($event) => projectName.value = $event),
|
|
i: common_vendor.o(($event) => projectName.value = $event),
|
|
|
j: common_vendor.p({
|
|
j: common_vendor.p({
|
|
|
placeholder: "请输入项目名称",
|
|
placeholder: "请输入项目名称",
|
|
|
|
|
+ maxlength: 32,
|
|
|
modelValue: projectName.value
|
|
modelValue: projectName.value
|
|
|
}),
|
|
}),
|
|
|
k: common_vendor.o(($event) => projectAmount.value = $event),
|
|
k: common_vendor.o(($event) => projectAmount.value = $event),
|