|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
* @Author: ch
|
|
|
|
|
* @Date: 2022-06-25 15:29:43
|
|
|
|
|
* @LastEditors: ch
|
|
|
|
|
* @LastEditTime: 2022-06-28 22:09:20
|
|
|
|
|
* @LastEditTime: 2022-06-29 18:06:08
|
|
|
|
|
* @Description: file content
|
|
|
|
|
-->
|
|
|
|
|
<template>
|
|
|
|
@ -62,10 +62,10 @@ export default {
|
|
|
|
|
isDisabled(){
|
|
|
|
|
let status = false
|
|
|
|
|
if(this.type === COMMENT.TYPE.COMMENT){
|
|
|
|
|
status = !this.rate || !this.commentContent
|
|
|
|
|
status = !this.rate || !this.commentContent.trim();
|
|
|
|
|
}
|
|
|
|
|
if(this.type === COMMENT.TYPE.FOLLOW_COMMENT){
|
|
|
|
|
status = !this.commentContent;
|
|
|
|
|
status = !this.commentContent.trim();
|
|
|
|
|
}
|
|
|
|
|
return status;
|
|
|
|
|
}
|
|
|
|
|