Skip to content

[Bug] search.nvue: SearchAdvanced is returned from setup() but never defined #22

Description

@Wu-fei-5

Describe the bug

In file uni_modules/tuikit-atomic-x/quickstart/pages/scenes/chat/search/search.nvue,the setup() function returns SearchAdvanced in its return statement,but this variable is never declared or defined anywhere in the setup() scope.
This causes a ReferenceError: SearchAdvanced is not defined at runtime,resulting in the component failing to render and potentially crashing the app.

Steps to reproduce

  1. Install tuikit-atomic-x from DCloud plugin marketplace2. Navigate to the search page3. Component fails to render due to the undefined variable

Expected behavior

Either:- SearchAdvanced should be properly defined (e.g., const SearchAdvanced = ref(false))- Or it should be removed from the setup() return statement if not needed

Environment

  • Platform: uni-app (DCloud plugin marketplace version)- File: uni_modules/tuikit-atomic-x/quickstart/pages/scenes/chat/search/search.nvue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions