edison
|
6d887aaf59
|
fix(runtime-core): handle initial undefined attrs (#5017)
fix #5016
|
2021-12-06 00:58:45 -05:00 |
|
Evan You
|
bbf6ca9bca
|
fix(runtime-core): fix null type in required + multi-type prop declarations
fix #4146 (in combination with #4147)
|
2021-07-19 11:20:28 -04:00 |
|
Evan You
|
0255be2f4b
|
fix(runtime-core): avoid double-setting props when casting
fix #3371, close #3384
|
2021-05-24 18:48:33 -04:00 |
|
Evan You
|
4fe4de0a49
|
fix(runtime-core): ensure declare prop keys are always present
fix #3288
|
2021-04-01 20:25:12 -04:00 |
|
Evan You
|
2121c32e22
|
fix(runtime-core): fix kebab-case prop required warning
fix #3495
ref #3363
|
2021-03-27 11:16:39 -04:00 |
|
HcySunYang
|
44166b43d9
|
fix(runtime-core): cache props default values to avoid unnecessary watcher trigger (#3474)
fix #3471
|
2021-03-25 17:26:58 -04:00 |
|
HcySunYang
|
86ceef4352
|
fix(runtime-core): fix warning for absent props (#3363)
fix #3362
|
2021-03-25 16:22:43 -04:00 |
|
Cédric Exbrayat
|
73117f6b5b
|
fix(runtime-core): allow overriding properties other than props (#3105)
This is useful for testing, as Jest can't spy on an object without `hasOwnProperty`.
VTU can add it, but this commit is needed first.
|
2021-02-05 19:59:46 +01:00 |
|
edison
|
ffd5288545
|
feat(runtime-core): props type support BigInt (#2891)
|
2021-02-03 19:25:45 +01:00 |
|
Evan You
|
58c31e3699
|
feat(runtime-core): support using inject() inside props default functions
|
2020-09-17 15:59:01 -04:00 |
|
Evan You
|
8ed0b342d4
|
fix(runtime-core): fix props/emits resolving with global mixins
fix #1975
|
2020-08-31 18:32:07 -04:00 |
|
Evan You
|
5c74243211
|
test: move mockWarn into setup files
|
2020-07-27 22:58:51 -04:00 |
|
Guillaume Chau
|
568b6db12b
|
feat: Initial devtools support (#1125)
|
2020-07-16 18:18:52 -04:00 |
|
underfin
|
1c4e1b6792
|
fix(runtime-core): should remove no longer present camelCase props (#1413)
fix #1412
|
2020-06-26 09:16:06 -04:00 |
|
tangjinzhou
|
d437a0145d
|
fix(runtime-core): default value for function type prop (#1349)
fix #1348
|
2020-06-12 09:06:28 -04:00 |
|
Evan You
|
215c106297
|
test: test for mixin/extends props merging
|
2020-06-09 16:20:33 -04:00 |
|
Evan You
|
171cfa404f
|
fix(runtime-core): should not cast prop value if prop did not change
fix #999
|
2020-04-20 14:16:25 -04:00 |
|
Evan You
|
c80b857eb5
|
fix(runtime-core): should resolve value instead of delete for dynamic props with options
|
2020-04-14 16:17:35 -04:00 |
|
Evan You
|
7cbf684611
|
fix(runtime-core): fix kebab-case props update
fix #955
|
2020-04-13 12:37:31 -04:00 |
|
Evan You
|
ec4a4c1e06
|
refactor(runtime-core): refactor props resolution
Improve performance in optimized mode + tests
|
2020-04-06 17:37:47 -04:00 |
|