xiaocainiao633

Results 10 comments of xiaocainiao633

I think you may want to focus on the differences before and after adding the :native-scrollbar="true" attribute: The right-side scrollbar of the el-table itself originally takes up an exclusive column,...

I'm not entirely sure if this is correct. I've made some modifications based on your original code. If you need it, I can provide the revised code. I look forward...

我觉得应该是组件嵌套导致的样式隔离,逻辑上多选框确实被选中了(value更新),但是is-checked类被隔离而未显示,我尝试了自定义多选框的变化,前缀图标可以显示,选中的value也正常,但是子元素无法独立会全部被勾选,似乎change等事件也会出现冲突,可以研究一下两个组件的作用方式以及作用域。

It's mainly because of the access permissions of private/protected attributes. Due to the soft privacy of TS, during compilation: TypeScript believes that external code cannot access `private`/`protected`, and the type...

In Foo2.vue, A and B are imported synchronously, and TypeScript can perform type inference correctly. However, in Foo1.vue, the asynchronous component returned by defineAsyncComponent seems to have a different type...

I think it may be related to type inference and the difference in the "return" statements. From official documentation: [Type Inference](https://www.typescriptlang.org/docs/handbook/type-inference.html)

CompB: It can be seen that the types of the two are not the same. At this time, TypeScript has inferred it as a required type. TypeScript's function parameter type...

This comes from the official documentation: [defineComoponent](https://vuejs.org/api/general.html#definecomponent)