emqx / MQTTX

A Powerful and All-in-One MQTT 5.0 client toolbox for Desktop, CLI and WebSocket.
https://mqttx.app
Apache License 2.0
3.93k stars 450 forks source link

fix(desktop): add id for tree node #1776

Closed ysfscream closed 1 month ago

ysfscream commented 1 month ago

PR Checklist

If you have any questions, you can refer to the Contributing Guide

What is the current behavior?

image

Please describe the current behavior and link to a relevant issue.

Issue Number

Example: #1244

What is the new behavior?

  1. Fixed duplicate key values.
  2. In topic tree data, the label of a node is not absolutely unique. Add an id attribute.

Please describe the new behavior or provide screenshots.

Does this PR introduce a breaking change?

Specific Instructions

Are there any specific instructions or things that should be known prior to review?

Other information