|
@@ -322,7 +322,7 @@ let currentComData = {
|
|
|
},
|
|
|
};
|
|
|
|
|
|
-let visible = ref(false);
|
|
|
+let visible = ref(true);
|
|
|
let showComType = ref("default"); // default(表单) preview(预览) topUp(充值)
|
|
|
let openAntiBot = ref(false);
|
|
|
let dialogHeight = ref(680);
|
|
@@ -757,11 +757,11 @@ const onAmountBlur = () => {
|
|
|
} else {
|
|
|
setIptAmountErrorMsg((res) => {
|
|
|
if (res.flag) {
|
|
|
- if(!baseFormData.totalCount) {
|
|
|
- iptErrMsgTxt.value = "Please enter the ‘winners' amount";
|
|
|
- } else {
|
|
|
+ // if(!baseFormData.totalCount) {
|
|
|
+ // iptErrMsgTxt.value = "Please enter the ‘winners' amount";
|
|
|
+ // } else {
|
|
|
iptErrMsgTxt.value = "";
|
|
|
- }
|
|
|
+ // }
|
|
|
}
|
|
|
});
|
|
|
}
|
|
@@ -773,8 +773,9 @@ const onAmountBlur = () => {
|
|
|
const onCountBlur = () => {
|
|
|
if (!baseFormData.totalCount) {
|
|
|
iptErrMsgTxt.value =
|
|
|
- "Please enter the ‘winners' amount";
|
|
|
+ "Please enter the ‘winners’ amount";
|
|
|
} else {
|
|
|
+ iptErrMsgTxt.value = "";
|
|
|
setIptAmountErrorMsg((res) => {
|
|
|
if (res.flag) {
|
|
|
iptErrMsgTxt.value = "";
|
|
@@ -837,11 +838,11 @@ const setIptAmountErrorMsg = (cb) => {
|
|
|
if (!res.flag) {
|
|
|
iptErrMsgTxt.value = `Please reduce the 'winners' amount to ${res.count}`;
|
|
|
} else {
|
|
|
- if(!baseFormData.totalCount) {
|
|
|
- iptErrMsgTxt.value = "Please enter the ‘winners' amount";
|
|
|
- } else {
|
|
|
+ // if(!baseFormData.totalCount) {
|
|
|
+ // iptErrMsgTxt.value = "Please enter the ‘winners' amount";
|
|
|
+ // } else {
|
|
|
iptErrMsgTxt.value = "";
|
|
|
- }
|
|
|
+ // }
|
|
|
}
|
|
|
cb && cb(res);
|
|
|
} else if(currentCurrencyInfo.value.currencyCode != 'USD') {
|