Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why no setup 7.6.4 #695

Open
yangnuowei88 opened this issue Nov 13, 2024 · 1 comment
Open

why no setup 7.6.4 #695

yangnuowei88 opened this issue Nov 13, 2024 · 1 comment

Comments

@yangnuowei88
Copy link

1731492951785

<script lang="ts" setup> import type { VxeGridDefines, VxeGridInstance, VxeTableDefines } from 'vxe-table' import type { IOptionListType } from './type' defineOptions({ name: 'SjzySelect', }) const props = defineProps(sjzySelectBasicProps) const emit = defineEmits<{ 'update:modelValue': [val: any] 'clear': [val: any] 'select-change': [val: any] 'change': [val: any] }>() const t = GlobalConfig.i18n /** 绑定值 */ const selectValue = ref() /** elselect */ const elSelectRef = ref>() /** 分页参数 */ const pageIndex = ref(1) const pageSize = ref(30) /** 当前选中值对象 */ const selectOption = ref()
@yangnuowei88
Copy link
Author

采用setup 语法糖,但是不显示setup 里面的内容,为什么?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant