|
@@ -144,7 +144,7 @@
|
|
|
</div>
|
|
|
</el-form>
|
|
|
<div class="btn-wrap" style="text-align: center;">
|
|
|
- <el-button type="primary" plain style="width:200px;">取消</el-button>
|
|
|
+ <el-button type="primary" plain style="width:200px;" @click="cancel">取消</el-button>
|
|
|
<el-button type="primary" style="margin-left:50px;width:200px;" @click="saveBaseConfig">保存</el-button>
|
|
|
</div>
|
|
|
<el-image-viewer
|
|
@@ -351,6 +351,10 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
})
|
|
|
+ },
|
|
|
+ cancel(){
|
|
|
+ //取消就恢复原样
|
|
|
+ this.getBaseConfig()
|
|
|
}
|
|
|
},
|
|
|
mounted(){
|