Comparing version 0.5.2-alpha.0 to 0.5.3-alpha.0
{ | ||
"name": "okam-core", | ||
"version": "0.5.2-alpha.0", | ||
"version": "0.5.3-alpha.0", | ||
"description": "The extension for small program framework", | ||
@@ -41,3 +41,3 @@ "main": "src/index.js", | ||
}, | ||
"gitHead": "a6f98dcedc88eb448da2e16b7cbf8afbbf54631b", | ||
"gitHead": "3c23537107d43d263e99a22bbc4cedcab93b6ee8", | ||
"dependencies": { | ||
@@ -44,0 +44,0 @@ "vue-router": "^3.4.9" |
@@ -29,2 +29,4 @@ /** | ||
window.swan = null; | ||
export default { | ||
@@ -49,2 +51,4 @@ | ||
initApi.call(this); | ||
// compatible business side nonstandard writing | ||
window.swan = this.$api; | ||
@@ -74,4 +78,5 @@ // inject router instance | ||
window.__currOkamAppInstance = null; | ||
window.swan = null; | ||
} | ||
}; | ||
255934
8563