Commit 98ae7bbf by liuyong

修改代码

1 parent d265703f
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
window.addEventListener("message", event => {//会一直调用 window.addEventListener("message", event => {//会一直调用
if(event.data.type) { if(event.data.type) {
if(event.data.type == 'saveData') { if(event.data.type == 'saveData') {
// console.log(event.data.type)
MessageBox.confirm('确定保存?', '提示', { MessageBox.confirm('确定保存?', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
...@@ -47,21 +48,21 @@ ...@@ -47,21 +48,21 @@
} }
} }
if(event.data.type == 'saveVersion'){ if(event.data.type == 'saveVersion'){
MessageBox.confirm('确定发布版本?', '提示', { MessageBox.confirm('确定发布版本?', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
customClass: 'messageClass', customClass: 'messageClass',
confirmButtonClass: 'confirmClass', confirmButtonClass: 'confirmClass',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.releaseVersion(id); this.releaseVersion(id);
}).catch(() => { }).catch(() => {
Message({ Message({
type: 'info', type: 'info',
message: '已取消' message: '已取消'
}); });
}); });
} }
}); });
}, },
methods: { methods: {
......
...@@ -414,6 +414,9 @@ export default { ...@@ -414,6 +414,9 @@ export default {
/deep/ .el-form-item__content{ /deep/ .el-form-item__content{
width: 80%; width: 80%;
} }
/deep/ .is-leaf {
background-color: #fff !important;
}
.greenButton{ .greenButton{
background-color: #0D867F; background-color: #0D867F;
color: #fff; color: #fff;
......
...@@ -124,4 +124,7 @@ ...@@ -124,4 +124,7 @@
.right_container{ .right_container{
width: 80%; width: 80%;
} }
/deep/ .is-leaf {
background-color: #fff !important;
}
</style> </style>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!