申请原因必填添加星号
continuous-integration/drone/push Build is passing Details

uat
wangxiaoshuang 2025-05-20 11:07:41 +08:00
parent 286865ba8f
commit ee2e33405c
2 changed files with 4 additions and 2 deletions

View File

@ -1007,9 +1007,10 @@ export default {
// 退
async imageBack(row) {
try {
this.$prompt(this.$t("trials:crcUpload:confirmMessage:ApplyReason"), this.$t("trials:crcUpload:confirmMessage:imageBack"), {
this.$prompt(`<span style="color:#F56C6C">*</span><span>${this.$t("trials:crcUpload:confirmMessage:ApplyReason")}</span>`, this.$t("trials:crcUpload:confirmMessage:imageBack"), {
confirmButtonText: this.$t("common:button:save"),
cancelButtonText: this.$t("common:button:cancel"),
dangerouslyUseHTMLString: true,
inputValidator: (val) => {
if (!val) return this.$t("common:ruleMessage:specify")
},

View File

@ -697,9 +697,10 @@ export default {
// 退
async imageBack(row) {
try {
this.$prompt(this.$t("trials:crcUpload:confirmMessage:ApplyReason"), this.$t("trials:crcUpload:confirmMessage:imageBack"), {
this.$prompt(`<span style="color:#F56C6C">*</span><span>${this.$t("trials:crcUpload:confirmMessage:ApplyReason")}</span>`, this.$t("trials:crcUpload:confirmMessage:imageBack"), {
confirmButtonText: this.$t("common:button:save"),
cancelButtonText: this.$t("common:button:cancel"),
dangerouslyUseHTMLString: true,
inputValidator: (val) => {
if (!val) return this.$t("common:ruleMessage:specify")
},