update deps & fix compilation
This commit is contained in:
4
doric-web/dist/index.js
vendored
4
doric-web/dist/index.js
vendored
@@ -2283,7 +2283,7 @@ 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()) {
|
||||
@@ -2293,7 +2293,7 @@ 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()) {
|
||||
|
@@ -21,13 +21,13 @@
|
||||
"dependencies": {
|
||||
"@rollup/plugin-commonjs": "^11.0.1",
|
||||
"@rollup/plugin-json": "^4.0.1",
|
||||
"@rollup/plugin-node-resolve": "^6.1.0",
|
||||
"axios": "^0.19.0",
|
||||
"@rollup/plugin-node-resolve": "^7.0.0",
|
||||
"axios": "^0.19.1",
|
||||
"doric": "file:../doric-js",
|
||||
"rollup": "^1.28.0",
|
||||
"rollup": "^1.29.0",
|
||||
"typescript": "^3.7.4"
|
||||
},
|
||||
"publishConfig": {
|
||||
"registry": "https://registry.npmjs.org"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user