Zcating

Results 8 comments of Zcating

You should define `onWelcome` in props when you using jsx.

To be honest, You can't do this. JSX did not provide attributes for emitting event yet. But, You can define a declare type to avoid this. ``` declare class Child...

Please post a mini demo. through your description, I think you should define `emit` in component like that: ``` const SomeCompo = defineComponent({ props: { ... }, // 'xxx' means...

The most easier way to solve this problem is mark event to **any**.

问题1:button 标签本身自带 cursor: pointer,所以当时也没想那么多。 问题2:该类型的文本颜色以及hover后的颜色,需要 kagol 与 devui 的设计师团队沟通讨论后得出。 问题3:vue3 的事件触发机制有两种,emit 和 function prop,在模板中, `@click` 等价于 `onClick`。通过 props 传入回调参数没什么奇怪的,ng,React 都是这样设计,Vue 当然也可以。

I run these codes to fix my first problem. > export CUDNN_ENABLED=1 > export INSTALL_PREFIX=/usr/local/ > export CUDA_PREFIX=/usr/local/cuda/ but another problem show now... > ./include/cudarray/nnet/cudnn.hpp:8:10: fatal error: 'cudnn.h' file not...

使用 vite 的时候,也没有相应wxcloud模板