mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 10:56:44 +08:00
评论不能为空
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
type="textarea"
|
||||
class="hideControl"
|
||||
show-word-limit
|
||||
v-model="inputValue"
|
||||
v-model.trim="inputValue"
|
||||
maxlength="800"
|
||||
placeholder="写下您的评论(800字以内),可以@案主哦~"
|
||||
></el-input>
|
||||
@@ -483,8 +483,7 @@
|
||||
this.listShow=flag;
|
||||
},
|
||||
submit(){
|
||||
|
||||
if(this.inputValue!=''){
|
||||
if(this.inputValue.trim()!=''){
|
||||
let cdata={
|
||||
objType:this.objType,
|
||||
objId:this.objId,
|
||||
|
||||
Reference in New Issue
Block a user