feat: 添加 Table 组件 #5526
Annotations
10 errors and 2 warnings
tests/alipay/Input/InputBlur/index.test.ts > 测试 InputBlur 默认的 props:
tests/utils.ts#L97
TypeError: instance.mixins.forEach is not a function
❯ createInstance tests/utils.ts:97:21
❯ Component tests/utils.ts:237:16
❯ ComponentWithSignalStoreImpl compiled/alipay/src/_util/simply.ts:105:3
❯ compiled/alipay/src/Input/InputBlur/index.ts:6:1
❯ ../../../../../tmp/0.z9z3s1gzaob/out.js:10786:3
❯ Script.runInContext node:vm:133:12
❯ Module.getInstance tests/utils.ts:245:10
❯ tests/alipay/Input/InputBlur/index.test.ts:5:20
|
tests/alipay/Input/InputBlur/index.test.ts > InputBlur 的受控模式 > InputBlur 即使在受控模式下, 也会更新:
tests/utils.ts#L97
TypeError: instance.mixins.forEach is not a function
❯ createInstance tests/utils.ts:97:21
❯ Component tests/utils.ts:237:16
❯ ComponentWithSignalStoreImpl compiled/alipay/src/_util/simply.ts:105:3
❯ compiled/alipay/src/Input/InputBlur/index.ts:6:1
❯ ../../../../../tmp/0.z9z3s1gzaob/out.js:10786:3
❯ Script.runInContext node:vm:133:12
❯ Module.getInstance tests/utils.ts:245:10
❯ tests/alipay/Input/InputBlur/index.test.ts:17:22
|
tests/alipay/Input/InputBlur/index.test.ts > InputBlur 的受控模式 > 受控模式, 随着 value 改变而改变:
tests/utils.ts#L97
TypeError: instance.mixins.forEach is not a function
❯ createInstance tests/utils.ts:97:21
❯ Component tests/utils.ts:237:16
❯ ComponentWithSignalStoreImpl compiled/alipay/src/_util/simply.ts:105:3
❯ compiled/alipay/src/Input/InputBlur/index.ts:6:1
❯ ../../../../../tmp/0.z9z3s1gzaob/out.js:10786:3
❯ Script.runInContext node:vm:133:12
❯ Module.getInstance tests/utils.ts:245:10
❯ tests/alipay/Input/InputBlur/index.test.ts:28:22
|
tests/alipay/Input/InputBlur/index.test.ts > InputBlur 的受控模式 > onFocus 时,不会随着 value 改变而改变:
tests/utils.ts#L97
TypeError: instance.mixins.forEach is not a function
❯ createInstance tests/utils.ts:97:21
❯ Component tests/utils.ts:237:16
❯ ComponentWithSignalStoreImpl compiled/alipay/src/_util/simply.ts:105:3
❯ compiled/alipay/src/Input/InputBlur/index.ts:6:1
❯ ../../../../../tmp/0.z9z3s1gzaob/out.js:10786:3
❯ Script.runInContext node:vm:133:12
❯ Module.getInstance tests/utils.ts:245:10
❯ tests/alipay/Input/InputBlur/index.test.ts:39:22
|
tests/alipay/Input/InputBlur/index.test.ts > InputBlur 的受控模式 > onBlur 时候需要将 value 更新为 props 的数值:
tests/utils.ts#L97
TypeError: instance.mixins.forEach is not a function
❯ createInstance tests/utils.ts:97:21
❯ Component tests/utils.ts:237:16
❯ ComponentWithSignalStoreImpl compiled/alipay/src/_util/simply.ts:105:3
❯ compiled/alipay/src/Input/InputBlur/index.ts:6:1
❯ ../../../../../tmp/0.z9z3s1gzaob/out.js:10786:3
❯ Script.runInContext node:vm:133:12
❯ Module.getInstance tests/utils.ts:245:10
❯ tests/alipay/Input/InputBlur/index.test.ts:58:22
|
tests/alipay/Input/InputBlur/index.test.ts > InputBlur 的受控模式 > test onConfirm:
tests/utils.ts#L97
TypeError: instance.mixins.forEach is not a function
❯ createInstance tests/utils.ts:97:21
❯ Component tests/utils.ts:237:16
❯ ComponentWithSignalStoreImpl compiled/alipay/src/_util/simply.ts:105:3
❯ compiled/alipay/src/Input/InputBlur/index.ts:6:1
❯ ../../../../../tmp/0.z9z3s1gzaob/out.js:10786:3
❯ Script.runInContext node:vm:133:12
❯ Module.getInstance tests/utils.ts:245:10
❯ tests/alipay/Input/InputBlur/index.test.ts:78:22
|
tests/alipay/Input/InputBlur/index.test.ts > InputBlur 的非受控模式 > 非受控模式下, 内部的 value 一直不变, value 一直是 undefined:
tests/utils.ts#L97
TypeError: instance.mixins.forEach is not a function
❯ createInstance tests/utils.ts:97:21
❯ Component tests/utils.ts:237:16
❯ ComponentWithSignalStoreImpl compiled/alipay/src/_util/simply.ts:105:3
❯ compiled/alipay/src/Input/InputBlur/index.ts:6:1
❯ ../../../../../tmp/0.z9z3s1gzaob/out.js:10786:3
❯ Script.runInContext node:vm:133:12
❯ Module.getInstance tests/utils.ts:245:10
❯ tests/alipay/Input/InputBlur/index.test.ts:91:22
|
tests/alipay/Input/InputBlur/index.test.ts > InputBlur 的非受控模式 > controlled 优先级高于 value:
tests/utils.ts#L97
TypeError: instance.mixins.forEach is not a function
❯ createInstance tests/utils.ts:97:21
❯ Component tests/utils.ts:237:16
❯ ComponentWithSignalStoreImpl compiled/alipay/src/_util/simply.ts:105:3
❯ compiled/alipay/src/Input/InputBlur/index.ts:6:1
❯ ../../../../../tmp/0.z9z3s1gzaob/out.js:10786:3
❯ Script.runInContext node:vm:133:12
❯ Module.getInstance tests/utils.ts:245:10
❯ tests/alipay/Input/InputBlur/index.test.ts:108:22
|
tests/alipay/Input/InputBlur/index.test.ts > InputBlur 的非受控模式 > 在有 value 的非受控模式, 仍然有 onBlur 的逻辑:
tests/utils.ts#L97
TypeError: instance.mixins.forEach is not a function
❯ createInstance tests/utils.ts:97:21
❯ Component tests/utils.ts:237:16
❯ ComponentWithSignalStoreImpl compiled/alipay/src/_util/simply.ts:105:3
❯ compiled/alipay/src/Input/InputBlur/index.ts:6:1
❯ ../../../../../tmp/0.z9z3s1gzaob/out.js:10786:3
❯ Script.runInContext node:vm:133:12
❯ Module.getInstance tests/utils.ts:245:10
❯ tests/alipay/Input/InputBlur/index.test.ts:127:22
|
build
Process completed with exit code 1.
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|