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
- 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
Describe the bug
In file
uni_modules/tuikit-atomic-x/quickstart/pages/scenes/chat/search/search.nvue,thesetup()function returnsSearchAdvancedin its return statement,but this variable is never declared or defined anywhere in thesetup()scope.This causes a
ReferenceError: SearchAdvanced is not definedat runtime,resulting in the component failing to render and potentially crashing the app.Steps to reproduce
tuikit-atomic-xfrom DCloud plugin marketplace2. Navigate to the search page3. Component fails to render due to the undefined variableExpected behavior
Either:-
SearchAdvancedshould be properly defined (e.g.,const SearchAdvanced = ref(false))- Or it should be removed from thesetup()return statement if not neededEnvironment
uni_modules/tuikit-atomic-x/quickstart/pages/scenes/chat/search/search.nvue