Commit 98ae7bbf by liuyong

修改代码

1 parent d265703f
......@@ -30,6 +30,7 @@
window.addEventListener("message", event => {//会一直调用
if(event.data.type) {
if(event.data.type == 'saveData') {
// console.log(event.data.type)
MessageBox.confirm('确定保存?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
......@@ -47,21 +48,21 @@
}
}
if(event.data.type == 'saveVersion'){
MessageBox.confirm('确定发布版本?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
customClass: 'messageClass',
confirmButtonClass: 'confirmClass',
type: 'warning'
}).then(() => {
this.releaseVersion(id);
}).catch(() => {
Message({
type: 'info',
message: '已取消'
});
});
}
MessageBox.confirm('确定发布版本?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
customClass: 'messageClass',
confirmButtonClass: 'confirmClass',
type: 'warning'
}).then(() => {
this.releaseVersion(id);
}).catch(() => {
Message({
type: 'info',
message: '已取消'
});
});
}
});
},
methods: {
......
......@@ -414,6 +414,9 @@ export default {
/deep/ .el-form-item__content{
width: 80%;
}
/deep/ .is-leaf {
background-color: #fff !important;
}
.greenButton{
background-color: #0D867F;
color: #fff;
......
......@@ -124,4 +124,7 @@
.right_container{
width: 80%;
}
/deep/ .is-leaf {
background-color: #fff !important;
}
</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!