zhiyuanzmj

Results 56 comments of zhiyuanzmj

use `type="daterange"` prop and click clear button will trigger twice "update:model-value" event

> A better solution would be to open the keybindings editor and delete the offending binding. ```json { "key": "r", "command": "-renameFile", "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly...

I created a PR https://github.com/vue-macros/vue-macros/pull/494 to resolved it. ``` ts // tsconfig.json { "vueCompilerOptions": { "target": 3, "plugins": [ "@vue-macros/volar/jsx-directive" // ...more feature ] } } ```

You can use https://github.com/xlzy520/vuedraggable-es instead

## [vue-macros](https://vue-macros.dev/features/jsx-directive.html#dynamic-arguments) already supports dynamic argument

I created a PR https://github.com/vue-macros/vue-macros/pull/494 to resolved it. ``` ts // tsconfig.json { "vueCompilerOptions": { "target": 3, "plugins": [ "@vue-macros/volar/jsx-directive" // ...more feature ] } } ```

> I also face the same problem, how should I solve it @chaozwn @sxzz @funny-family @zhiyuanzmj @rcjiang https://vue-macros.dev/guide/bundler-integration.html You can install `@vue-macros/volar` plugin to resolve it ```bash pnpm add @vue-macros/volar...

You can use `defineEmits` or `defineModel` in the component. ```tsx // without 'on' prefix defineEmits([ 'update:rowData']) // Or defineModel('rowData') ``` If the issue still unresolved, please provide a minimal repository....

Type declaration should also be possible, if not, please provide a minimal repository.