!90 [all] 版本号更新 & 问题修复

Merge pull request !90 from 涂旭辉/master
This commit is contained in:
openInula-robot 2023-12-01 02:48:16 +00:00 committed by Gitee
commit 0dff459fcb
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
6 changed files with 8 additions and 5 deletions

View File

@ -1,5 +1,5 @@
{ {
"name": "openinula", "name": "inula",
"description": "OpenInula is a JavaScript framework library.", "description": "OpenInula is a JavaScript framework library.",
"version": "0.0.1", "version": "0.0.1",
"private": true, "private": true,

View File

@ -1,6 +1,6 @@
{ {
"name": "inula-intl", "name": "inula-intl",
"version": "0.0.2", "version": "0.0.3",
"description": "", "description": "",
"main": "build/intl.umd.js", "main": "build/intl.umd.js",
"type": "commonjs", "type": "commonjs",

View File

@ -1,6 +1,6 @@
{ {
"name": "inula-request", "name": "inula-request",
"version": "0.0.5", "version": "0.0.7",
"description": "Inula-request brings you a convenient request experience!", "description": "Inula-request brings you a convenient request experience!",
"main": "./dist/inulaRequest.js", "main": "./dist/inulaRequest.js",
"scripts": { "scripts": {

View File

@ -41,4 +41,7 @@ export default {
presets: ['@babel/preset-env'] presets: ['@babel/preset-env']
}) })
], ],
external:[
'openinula'
],
}; };

View File

@ -21,7 +21,7 @@ import { setStateChange } from '../render/FunctionComponent';
import { getHookStage, HookStage } from './HookStage'; import { getHookStage, HookStage } from './HookStage';
import type { VNode } from '../Types'; import type { VNode } from '../Types';
import { getProcessingVNode } from '../GlobalVar'; import { getProcessingVNode } from '../GlobalVar';
import { markUpdatedInRender } from "./HookMain"; import { markUpdatedInRender } from './HookMain';
// 构造新的Update数组 // 构造新的Update数组
function insertUpdate<S, A>(action: A, hook: Hook<S, A>): Update<S, A> { function insertUpdate<S, A>(action: A, hook: Hook<S, A>): Update<S, A> {

View File

@ -74,7 +74,7 @@ export function getLazyVNodeTag(lazyComp: any): string {
} else if (lazyComp !== undefined && lazyComp !== null && typeLazyMap[lazyComp.vtype]) { } else if (lazyComp !== undefined && lazyComp !== null && typeLazyMap[lazyComp.vtype]) {
return typeLazyMap[lazyComp.vtype]; return typeLazyMap[lazyComp.vtype];
} }
throw Error("Inula can't resolve the content of lazy"); throw Error('Inula can\'t resolve the content of lazy');
} }
// 创建processing // 创建processing