Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

无法展示setup #249

Open
adminfyy opened this issue Oct 23, 2023 · 0 comments
Open

无法展示setup #249

adminfyy opened this issue Oct 23, 2023 · 0 comments
Labels
T: bug Type: Something isn't working

Comments

@adminfyy
Copy link

下面这种语法无法在插件中正常展示setup属性


export default defineComponent({
  name: 'CommitView',
  setup() {
    const activeArea = ref(areas?.[0]?.code)
    const store = useQuotaionInfoStore()
    onBeforeMount(() => {
      store.clearLastDetail()
    })
    const router = useRouter()

    const list = reactive<Array<BrandInfoData>>([])
    const bus = useBus()


    return () => {
      return (
        <Tabs v-model:activeKey={activeArea.value}>
          {areas.map((area) => {
            return (
              <TabPane key={area.code} tab={area.label}>
              </TabPane>
            )
          })}
        </Tabs>
      )
    }
  }
})

···
@alexzhang1030 alexzhang1030 added the T: bug Type: Something isn't working label Oct 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T: bug Type: Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants