Tencent-RTC / Tencent-RTC/TUIKit_uni-app

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

Open Beginner friendly
#22 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5
Forks
8
Avg merge
2d 7m
Merged PRs (30d)
2

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open uni_modules/tuikit-atomic-x/quickstart/pages/scenes/chat/search/search.nvue and inspect the setup() return statement alongside the component’s existing references to SearchAdvanced. Resolve the undefined reference by following whether the component needs that value or not, then reproduce the search page flow to confirm it renders without the ReferenceError.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
74/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.