Skip to content

fix(market): use thead and tbody as children of table#354

Merged
shigma merged 3 commits intomainfrom
fix-table
May 26, 2025
Merged

fix(market): use thead and tbody as children of table#354
shigma merged 3 commits intomainfrom
fix-table

Conversation

@SaarChaffee
Copy link
Member

@SaarChaffee SaarChaffee commented May 6, 2025

[vite] warning: <tr> cannot be child of <table>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.
31 |      <el-scrollbar v-if="data?.[version] && Object.keys(data[version].peers).length">
32 |        <table>
33 |          <tr>
   |          ^^^^
34 |            <td>依赖名称</td>
   |  ^^^^^^^^^^^^^^^^^^^^^^^
35 |            <td>版本区间</td>
   |  ^^^^^^^^^^^^^^^^^^^^^^^
36 |            <td>当前版本</td>
   |  ^^^^^^^^^^^^^^^^^^^^^^^
37 |            <td>可用性</td>
   |  ^^^^^^^^^^^^^^^^^^^^^^
38 |          </tr>
   |  ^^^^^^^^^^^^^

@SaarChaffee SaarChaffee changed the title fix: use thead and tbody as children of table fix(market): use thead and tbody as children of table May 6, 2025
@shigma shigma merged commit fee26cb into main May 26, 2025
6 of 11 checks passed
@shigma shigma deleted the fix-table branch May 26, 2025 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants