5016 bug when extracting a configuration we need to distinguish missing values from 0 #5066
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request focuses on improving the user interface and code structure of several Vue components in the
hmi-client
package. The changes include refactoring the structure of tables and lists, updating styles, and optimizing imports and logic.UI Improvements:
tera-initial-other-value-modal.vue
: Refactored theDataTable
component to reorder attributes for consistency, added sortable columns, and updated styles for better readability. [1] [2] [3] [4] [5] [6]tera-initial-table.vue
: Simplified the list structure by removing unnecessary nesteddiv
elements and dividers, and improved list item styling. [1] [2] [3] [4] [5] [6] [7]tera-model-config-drilldown.vue
: Enhanced button alignment and disabled states, added a new computed property to check if the model configuration has changed, and improved styling of the configuration list. [1] [2] [3] [4] [5] [6] [7] [8]tera-model-configuration-item.vue
: Updated the layout of the configuration item card, removed the divider, and improved the styling of the header and description. [1] [2]Code Optimization:
tera-initial-other-value-modal.vue
: Removed unused imports and redundant code, such as the column width calculation function and theselectedColumns
ref. [1] [2] [3] [4]tera-initial-table.vue
: Removed theDivider
component and its related styles, as well as simplified the list structure. [1] [2] [3] [4]tera-model-config-drilldown.vue
: Optimized the logic for checking if the model configuration has changed and improved the readability of the computed properties. [1] [2]These changes collectively enhance the maintainability, readability, and user experience of the
hmi-client
package.FROM
TO