no message
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user