Commit 030c6d27 authored by 罗超's avatar 罗超

1

parent 2250466f
......@@ -36,8 +36,8 @@
<q-td :props="props">
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="编辑"
@click="Edit(props.row,props.rowIndex)" />
<!-- <q-btn flat size="xs" icon="delete" color="negative" style="font-weight:400" label="删除"
@click="del(props.row)" /> -->
<q-btn flat size="xs" icon="delete" color="negative" style="font-weight:400" label="删除"
@click="del(props.rowIndex)" />
</q-td>
</template>
</q-table>
......@@ -142,6 +142,21 @@
this.ShowForm=true
this.FormOption=row
},
del(index){
let that=this
this.$q.dialog({
title: '提示信息',
message: '是否确定删除?',
cancel: true,
persistent: true,
ok: "确定",
cancel: "取消",
}).onOk(() => {
that.msg.SlideShowList.splice(index,1)
that.setInfo()
})
},
getForm(val){
this.ShowForm=false
if(this.editType===0){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment