https://blog.csdn.net/weixin_42507803/article/details/81910297

<el-table-column label="状态" prop="userState" width="100">
                <template scope="scope">
                    <div>
<!--                        {{ scope.row.userState | userState }}-->
                        {{scope.row.userState == 0 ? "启用" : scope.row.userState == 1 ? "禁用" : "解锁"}}
                    </div>
                </template>
            </el-table-column>

 

相关文章:

  • 2021-09-10
  • 2022-12-23
  • 2022-12-23
  • 2021-10-22
  • 2022-12-23
  • 2021-06-09
  • 2022-12-23
猜你喜欢
  • 2021-09-06
  • 2021-08-24
  • 2022-12-23
  • 2022-12-23
  • 2022-02-06
  • 2021-09-22
  • 2022-12-23
相关资源
相似解决方案