update deps & fix compilation

This commit is contained in:
王劲鹏
2020-01-10 16:19:53 +08:00
committed by osborn
parent 50147329a4
commit 54b79e7f1e
10 changed files with 326 additions and 326 deletions

View File

@@ -137,7 +137,7 @@ export class Panel {
this.context.shader.render(model);
}
hookBeforeNativeCall() {
if (Environment.platform !== 'h5') {
if (Environment.platform !== 'web') {
this.__root__.clean();
for (let map of this.headviews.values()) {
for (let v of map.values()) {
@@ -147,7 +147,7 @@ export class Panel {
}
}
hookAfterNativeCall() {
if (Environment.platform !== 'h5') {
if (Environment.platform !== 'web') {
//Here insert a native call to ensure the promise is resolved done.
nativeEmpty();
if (this.__root__.isDirty()) {