Match-id-54443aab0297038d54f694b36501e2a8bdcef764
This commit is contained in:
commit
2da7f9dd55
|
@ -1,3 +1,6 @@
|
|||
## 0.0.43 (2023-03-30)
|
||||
- **core**: 解决act方法无法等待useEffect触发的更新完成问题
|
||||
|
||||
## 0.0.42 (2023-03-24)
|
||||
- **core**: 解决直接通过defineProperty赋值vtype,enumerable为false,导致vtype为空问题
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"keywords": [
|
||||
"horizon"
|
||||
],
|
||||
"version": "0.0.42",
|
||||
"version": "0.0.43",
|
||||
"homepage": "",
|
||||
"bugs": "",
|
||||
"main": "index.js",
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
import Horizon, { render, useState, act, useEffect } from '@cloudsop/horizon/index.ts';
|
||||
|
||||
describe('Horizon.act function Test', () => {
|
||||
it('Parent can get Child instance by refs', function () {
|
||||
it('The act can wait for the useEffect update to complete.', function () {
|
||||
const Parent = props => {
|
||||
const [buttonOptions, setBtn] = useState([]);
|
||||
const [checkedRows, setCheckedRows] = useState([]);
|
||||
|
|
Loading…
Reference in New Issue