🎈 perf:el-radio的label属性修改为value以兼容下个版本

This commit is contained in:
preschooler
2024-08-15 11:49:58 +08:00
parent 30605fba76
commit dea9ef8cd1
99 changed files with 227 additions and 233 deletions

View File

@ -21,7 +21,7 @@
<el-radio
v-for="dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)"
:key="dict.value"
:label="dict.value"
:value="dict.value"
>
{{ dict.label }}
</el-radio>

View File

@ -31,7 +31,7 @@
<el-radio
v-for="dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)"
:key="dict.value"
:label="dict.value"
:value="dict.value"
>
{{ dict.label }}
</el-radio>

View File

@ -50,7 +50,7 @@
<el-radio
v-for="dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)"
:key="dict.value"
:label="dict.value"
:value="dict.value"
>
{{ dict.label }}
</el-radio>

View File

@ -15,7 +15,7 @@
<el-radio
v-for="dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)"
:key="dict.value"
:label="dict.value"
:value="dict.value"
>
{{ dict.label }}
</el-radio>

View File

@ -64,7 +64,7 @@
<el-table-column align="center" width="65">
<template #default="scope">
<el-radio
:label="scope.row.id"
:value="scope.row.id"
v-model="currentRowValue"
@change="handleCurrentChange(scope.row)"
>

View File

@ -64,7 +64,7 @@
<el-table-column align="center" width="65">
<template #default="scope">
<el-radio
:label="scope.row.id"
:value="scope.row.id"
v-model="currentRowValue"
@change="handleCurrentChange(scope.row)"
>

View File

@ -44,7 +44,7 @@
<el-radio
v-for="dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)"
:key="dict.value"
:label="dict.value"
:value="dict.value"
>
{{ dict.label }}
</el-radio>

View File

@ -44,7 +44,7 @@
<el-radio
v-for="dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)"
:key="dict.value"
:label="dict.value"
:value="dict.value"
>
{{ dict.label }}
</el-radio>

View File

@ -64,7 +64,7 @@
<el-table-column align="center" width="65">
<template #default="scope">
<el-radio
:label="scope.row.id"
:value="scope.row.id"
v-model="currentRowValue"
@change="handleCurrentChange(scope.row)"
>

View File

@ -64,7 +64,7 @@
<el-table-column align="center" width="65">
<template #default="scope">
<el-radio
:label="scope.row.id"
:value="scope.row.id"
v-model="currentRowValue"
@change="handleCurrentChange(scope.row)"
>

View File

@ -19,7 +19,7 @@
<el-radio
v-for="dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)"
:key="dict.value"
:label="dict.value"
:value="dict.value"
>
{{ dict.label }}
</el-radio>