no message

This commit is contained in:
A1300399510
2024-01-08 16:18:40 +08:00
parent bb91a032e9
commit b1096627ef
41 changed files with 321 additions and 330 deletions

View File

@@ -19,7 +19,7 @@
</div>
<div class="footer">
<button type="button" @click="cancel()">取消</button>
<button type="submit" :disabled="checkList.length == 0" @click="alertSubmit">提交</button>
<button type="submit" @click="alertSubmit">提交</button>
</div>
</div>
</div>
@@ -44,6 +44,10 @@ const selectRadio = value => {
// 举报提交
const alertSubmit = () => {
if (checkList.value.length == 0) {
ElMessage.error("请选择举报类型")
return
}
checkList.value.push(alertText.value)
reportAlertShow.value = false
commentReportHttp({
@@ -67,7 +71,7 @@ const cancel = () => (reportAlertShow.value = false)
.alert-form {
display: block;
position: fixed;
z-index: 2100;
z-index: 999;
left: 0;
top: 0;
width: 100vw;