Commit 37426945 authored by limingzhe's avatar limingzhe

判断是否存在 提交按钮

parent 6f31c21c
......@@ -693,11 +693,17 @@ export class PlayComponent implements OnInit, OnDestroy {
showSubmit() {
if (!this.submitBtn) {
return;
}
this.submitBtn.visible = true;
this.submitBtn.shadowSpr.visible = true;
}
hideSubmit() {
if (!this.submitBtn) {
return;
}
this.submitBtn.visible = false;
this.submitBtn.shadowSpr.visible = false;
}
......
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