fix: 融合服务
This commit is contained in:
parent
d7778972f5
commit
2540d303fc
|
@ -124,7 +124,7 @@ export default {
|
||||||
data: [id]
|
data: [id]
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log('删除成功', res)
|
console.log('删除成功', res)
|
||||||
if (res.code !== 0) {
|
if (res.data.code !== 0) {
|
||||||
return this.$message.error(res.msg);
|
return this.$message.error(res.msg);
|
||||||
}
|
}
|
||||||
this.$message({
|
this.$message({
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
<div class="title">
|
<div class="title">
|
||||||
常见问题
|
常见问题
|
||||||
</div>
|
</div>
|
||||||
<div v-for="(item, index) in dataInfo" :key="item.answer">
|
<div v-for="(item, index) in dataInfo" :key="index">
|
||||||
<el-form-item label="问题名称" prop="question">
|
<el-form-item label="问题名称" prop="question">
|
||||||
<el-input v-model="item.question" placeholder="请输入问题名称" style="width:90%"></el-input>
|
<el-input v-model="item.question" placeholder="请输入问题名称" style="width:90%"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="问题描述" prop="answer">
|
<el-form-item label="问题描述" prop="question">
|
||||||
<el-input v-model="item.answer" placeholder="请输入问题描述" style="width:90%"></el-input>
|
<el-input v-model="item.answer" placeholder="请输入问题描述" style="width:90%"></el-input>
|
||||||
<el-button style="margin-left:10px" @click="deleteItem(index)" type="danger" size="small">删除
|
<el-button style="margin-left:10px" @click="deleteItem(index)" type="danger" size="small">删除
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
Loading…
Reference in New Issue