IO配置表页面增添返回上一页操作

merge-requests/1/head
张鑫 5 years ago
parent 094a1d70c1
commit 00ce7bfa0f

@ -1,6 +1,9 @@
<template>
<div>
<div class="button-box">
<a-button type="primary" class="add" @click="back">
返回
</a-button>
<a-button type="primary" class="add" @click="showModel('add','')">
新增
</a-button>
@ -9,7 +12,7 @@
:multiple="true"
accept=".xlsx"
:action="uploadProps.action"
:showUploadList = 'false'
:showUploadList='false'
@change="handleChange"
ref="table"
>
@ -167,7 +170,7 @@ export default {
this.$axios.delete('/camera/config/'+id, {
data: {}
}).then(res => {
if(res.code==200){
if (res.code == 200) {
this.$message.success('删除球机IO成功');
this.handleGetCameraIoList()
}
@ -175,6 +178,9 @@ export default {
})
},
back() {
this.$router.go(-1);
}
},
components:{
Model

Loading…
Cancel
Save