mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-21 00:36:44 +08:00
修改正式环境bug
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<el-form-item label="回答内容">
|
||||
<el-input
|
||||
type="textarea"
|
||||
v-model="editData.content"
|
||||
v-model.trim="editData.content"
|
||||
placeholder="请输入详细描述"
|
||||
rows="8"
|
||||
minlength="1"
|
||||
@@ -39,7 +39,7 @@
|
||||
methods:{
|
||||
//确认修改回答
|
||||
enSure() {
|
||||
if (!this.editData.content) {
|
||||
if (!this.editData.content.trim()) {
|
||||
return this.$message({
|
||||
message: '回复内容不能为空',
|
||||
type: 'warning'
|
||||
|
||||
Reference in New Issue
Block a user