fix divide plugin: localizes status labels. (#529)

* Localizes status labels in DiscoveryUpstreamTable

Replaces hardcoded status options with localized content using `getIntlContent` for better internationalization.

Adjusts initial value handling for form fields and refines status rendering logic to ensure consistency.

Improves maintainability and prepares the application for multi-language support.

* fix code style
1 file changed
tree: d5d1fc2bbe897d411524c525f350863581ee9cf8
  1. .devcontainer/
  2. .github/
  3. public/
  4. src/
  5. tests/
  6. .asf.yaml
  7. .babelrc.js
  8. .editorconfig
  9. .eslintrc.js
  10. .gitignore
  11. .gitpod.Dockerfile
  12. .gitpod.yml
  13. .roadhogrc.mock.js
  14. .stylelintrc.json
  15. .webpackrc.js
  16. DISCLAIMER
  17. jsconfig.json
  18. LICENSE
  19. NOTICE
  20. package.json
  21. README.md
  22. tsconfig.json
README.md

Apache ShenYu Dashboard

build Contribute with Gitpod

Overview

Apache ShenYu Dashboard is frontend of a management background for Apache ShenYu. The API interface is in the Apache Shenyu Admin module.

Prerequisite

  • node v8.0+

How to Build

Configuration

Modify the api url for different environment, eg: http://192.168.1.100:8000

Develop Environment

# install dependencies in this project root path.
npm install
# start
npm start

Production Environment

# install dependencies in this project root path.
npm install
# build for production
npm run build

# copy to apache-shenyu-admin
cp -rf dist/* shenyu-admin/src/main/resources/static/