- read product_types from index.getShopExpressList and keep it keyed by both
wp_code and sys_express_code, mirroring the existing site option mapping
- render 产品编码 as a filterable select labelled "名称(编码)" and keep storing
the code; hide the field entirely when the express returns no product_types
- clear a stale product_type when the express / platform / shop changes
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- request interceptor: treat flag=failure / success=false as a business error
even when code is 0 (the gateway returns code 0 for login failures), so the
backend message is shown instead of being swallowed
- tag already-notified errors so callers do not toast twice
- user store: throw a readable error when the login response has no token
(previously crashed on null.token and the login page silently ignored it)
- login page: show an error message for errors the interceptor did not report
- replace the remote gw.alipayobjects.com decoration with a local svg
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- top menu: compute available width via flex layout (fixed logo / right-menu),
collapse the overflow into a "更多" sub menu with one item per line and
right-side flyout for nested menus
- align menu item heights (remove el-sub-menu 2px border causing 3px offset),
rotate the "更多" caret when opened
- add local svg icons: fullscreen / exit-fullscreen / time / message / email
(were referenced but never added, so the toolbar icons rendered empty)
- navbar icons follow the light text color instead of inheriting dark gray
- replace the empty chat button image with the ChatDotRound icon
- drop the external IM redirect in AiChat: the panel now stays in-app
- localize the avatar fallback (was wpimg.wallstcn.com)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Adjusted button sizes in CameraPreviewDialog and OperationCellRenderer for uniformity.
- Enhanced the layout and structure of ServerFormDialog and sign dialog to improve user experience.
- Implemented a new task panel design for better alignment and readability in various dialogs.
- Added computed properties for dynamic subtitles and footers in the sign dialog.
- Replaced ElMessageBox.prompt with a custom rename remark dialog for better styling consistency.
- Added new API functions for account information retrieval and username/password updates.
- Updated AccountSecurity component to reflect password status and provide password management options.
- Removed BasicInfoForm and OperationLogs components, streamlining the profile interface.
- Enhanced UserInfoCard to allow username editing directly within the card.
- Improved overall user experience with loading states and error handling during API calls.
- Updated profile configuration to remove unused mock data and components.