mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-09 02:46:48 +08:00
为空判断
This commit is contained in:
@@ -312,6 +312,9 @@ function cancelPost() {
|
||||
}
|
||||
// 发表帖子发布操作
|
||||
const postAdd = () => {
|
||||
if(titleName.value==''){
|
||||
return ElMessage.warning("评论标题为空");
|
||||
}
|
||||
loading.value = ElLoading.service({
|
||||
lock: true,
|
||||
text: "Loading",
|
||||
|
||||
Reference in New Issue
Block a user