vue
vue copied to clipboard
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
### Version ### Reproduction link [https://codepen.io/ddosakura/pen/eYYgYqZ](https://codepen.io/ddosakura/pen/eYYgYqZ) ### Steps to reproduce vue 的 vnode 中,没有一个类似 react 的 $$typeof 属性来防止 XSS 注入。 ```js const inject = { tag: "div", children: [ {...
**What kind of change does this PR introduce?** (check at least one) - [x] Bugfix - [ ] Feature - [ ] Code style update - [ ] Refactor -...
### Version 2.7.14 ### Reproduction link [codepen.io/AxisZ/pen/RwYrmxq](https://codepen.io/AxisZ/pen/RwYrmxq) ### Steps to reproduce Just open the codepen link, and open browser's devtool console ### What is expected? The `Vue.set(obj, 'added', 1);` statement...
Fixes #12931
### Version 2.6.10 ### Reproduction link [https://jsfiddle.net/ahy27vu3/](https://jsfiddle.net/ahy27vu3/) ### Steps to reproduce 1. input[type="text"] value is forced to` ''`, which is controlled completely 2. input[type="checkbox"] checked does not work ### What...
### What problem does this feature solve? Define functional components with the same format as Vue3. This make the future migration easier. ### What does the proposed API look like?...
### Version 2.7.14 ### Reproduction link [codepen.io/daysv/pen/JjaGLVP](https://codepen.io/daysv/pen/JjaGLVP) ### Steps to reproduce In pure html: https://codepen.io/daysv/pen/yLxeKqj Demo: ```js const compiler = require('vue-template-compiler') const str = ` 1 2 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb c...
### Version 2.7.14 ### Reproduction link [github.com](https://github.com/timongh/vue2_7_x_ts.git) ### Steps to reproduce 1. run `pnpm install`(or use npm, yarn) 2. run `pnpm type-check`(actual command is `vue-tsc --noEmit`) ### What is expected?...
### Version 2.7.14 ### Reproduction link [codesandbox.io](https://codesandbox.io/s/vue-composition-api-array-ref-error-ozh0v9) ### Steps to reproduce Wrap one or more refs in an array and try to render in the template with `v-for` or an...
### Version 2.7.14 ### Reproduction link [github.com](https://github.com/nermolov/vue-2.7-issue-reproduction/blob/main/src/App.vue) ### Steps to reproduce * Create a new Vue 2 + Typescript project with `npx vue create` * Upgrade project to Vue 2.7...