]> git.ipfire.org Git - thirdparty/vuejs/core.git/commit
fix(slots): properly warn if slot invoked in setup (#12195)
authoryangxiuxiu <79584569+yangxiuxiu1115@users.noreply.github.com>
Fri, 2 May 2025 09:53:14 +0000 (17:53 +0800)
committerGitHub <noreply@github.com>
Fri, 2 May 2025 09:53:14 +0000 (02:53 -0700)
commit9196222ae1d63b52b35ac5fbf5e71494587ccf05
tree521934a8bca4f00c096b7b5940ef96e150aa773d
parent2206cd235a1627c540e795e378b7564a55b47313
fix(slots): properly warn if slot invoked in setup (#12195)

close #12194
packages/runtime-core/__tests__/componentSlots.spec.ts
packages/runtime-core/src/componentSlots.ts