mm_os 4.0.3 → 4.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/core/app/index.js CHANGED
@@ -368,7 +368,7 @@ App.prototype.zipPlugin = async function (name) {
368
368
  if (!name || typeof name !== 'string') {
369
369
  throw new TypeError('无效的插件名称');
370
370
  }
371
- var plugin = this.manager.plugin.get(name);
371
+ var plugin = this.plugin[name];
372
372
  if (!plugin) {
373
373
  throw new Error(`插件 ${name} 不存在`);
374
374
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mm_os",
3
3
  "description": "MM_OS服务端架构,用于快速构建应用程序,支持网站建设、小程序后台、AI应用、物联网(IOT/AIOT)、游戏服务端等多种场景。",
4
- "version": "4.0.3",
4
+ "version": "4.0.4",
5
5
  "main": "index.js",
6
6
  "keywords": [
7
7
  "AI",