update comment-add-or-update.vue

This commit is contained in:
linfeng 2023-02-13 12:28:41 +08:00
parent 4a17cfeeac
commit 56173c6f45

View File

@ -4,27 +4,9 @@
:close-on-click-modal="false"
:visible.sync="visible">
<el-form :model="dataForm" :rules="dataRule" ref="dataForm" @keyup.enter.native="dataFormSubmit()" label-width="80px">
<el-form-item label="父级id" prop="pid">
<el-input v-model="dataForm.pid" placeholder="父级id"></el-input>
</el-form-item>
<el-form-item label="评论作者ID" prop="uid">
<el-input v-model="dataForm.uid" placeholder="评论作者ID"></el-input>
</el-form-item>
<el-form-item label="被回复用户ID" prop="toUid">
<el-input v-model="dataForm.toUid" placeholder="被回复用户ID"></el-input>
</el-form-item>
<el-form-item label="评论帖子ID" prop="postId">
<el-input v-model="dataForm.postId" placeholder="评论帖子ID"></el-input>
</el-form-item>
<el-form-item label="评论内容" prop="content">
<el-input v-model="dataForm.content" placeholder="评论内容"></el-input>
</el-form-item>
<el-form-item label="评论状态" prop="status">
<el-input v-model="dataForm.status" placeholder="评论状态"></el-input>
</el-form-item>
<el-form-item label="创建时间" prop="createTime">
<el-input v-model="dataForm.createTime" placeholder="创建时间"></el-input>
</el-form-item>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button @click="visible = false">取消</el-button>