fix: 修复我的问答大神级写的代码中的小瑕疵
This commit is contained in:
@@ -108,9 +108,10 @@ export default {
|
||||
this.$http.postData('lawss/Reply/insertReply',{ ...this.form },{
|
||||
_this: this
|
||||
}, res => {
|
||||
if(res.merge === '添加成功'){
|
||||
if(res.ok){
|
||||
this.form.reply = ''
|
||||
this.fileList = []
|
||||
//此处需要调用父组件中的方法,将问题列表进行刷新操作
|
||||
}
|
||||
}, e => {
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<el-button size="mini" @click="delSearch">清空</el-button>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button size="mini" type="primary" @click="queBtn" v-if="this.activeName !=='myQue'">提问</el-button>
|
||||
<el-button size="mini" type="primary" @click="queBtn">提问</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user