Reactjs se‘QsrQoreApi’: 渲染源=( ); 打破 案例“Eats365”: 渲染源=( ); 打破 案例“StoreHub”: 渲染源=( ); 打破 违约: renderSource=; 打破 } } 让renderSelectedSourceStore=''; if(源存储){ renderSelectedSourceStore=( 商店选择 setShowModal(真)}> {sourceStore.value.name} ); }否则{ renderSelectedSourceStore=; } 返回( 电子收银机 登录信息 电子收银机 {renderSource} {renderSelectedSourceStore} setShowModal(false)}open={showModal}> 设置显示模式(错误)} onClosed={()=>setShowModal(false)} store={store} sourceAdditionalInfos={sourceAdditionalInfos} sourceStore={sourceStore} setSourceStore={setSourceStore} /> ); } 使用auth导出默认值(AddSource)

Reactjs se‘QsrQoreApi’: 渲染源=( ); 打破 案例“Eats365”: 渲染源=( ); 打破 案例“StoreHub”: 渲染源=( ); 打破 违约: renderSource=; 打破 } } 让renderSelectedSourceStore=''; if(源存储){ renderSelectedSourceStore=( 商店选择 setShowModal(真)}> {sourceStore.value.name} ); }否则{ renderSelectedSourceStore=; } 返回( 电子收银机 登录信息 电子收银机 {renderSource} {renderSelectedSourceStore} setShowModal(false)}open={showModal}> 设置显示模式(错误)} onClosed={()=>setShowModal(false)} store={store} sourceAdditionalInfos={sourceAdditionalInfos} sourceStore={sourceStore} setSourceStore={setSourceStore} /> ); } 使用auth导出默认值(AddSource),reactjs,react-hooks,Reactjs,React Hooks,尝试将其更改为: {sourceStore?.value?.name} 错误“不显示”,但仍选择“不显示合适的数据”

尝试将其更改为:

{sourceStore?.value?.name}

错误“不显示”,但仍选择“不显示合适的数据”