随笔分类 -  前端

摘要:<el-table-column label="状态" align="center" min-width="120"> <template slot-scope="scope"> <span v-if="scope.row.status == '0' ">正常</span> <span v-if=" 阅读全文
posted @ 2024-11-08 10:54 Charles博客 阅读(38) 评论(0) 推荐(0) 编辑
摘要:在Vue.js中,你可以使用组件并通过插槽插入一个图标。这里以Ant Design Vue框架为例,假设你想在卡片的标题前面添加一个图标: <template> <a-card> <template slot="title"> <a-icon type="smile" /> 卡片标题 </templ 阅读全文
posted @ 2024-11-08 10:53 Charles博客 阅读(51) 评论(0) 推荐(0) 编辑
摘要:<a-col :span="24"> <a-form-model-item label="学历" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="eduType"> <a-select @select="eduTypeChange" place 阅读全文
posted @ 2024-11-08 10:50 Charles博客 阅读(199) 评论(0) 推荐(0) 编辑
摘要:在JavaScript中,如果你想要去除数组中具有相同属性的重复对象,你可以使用一个新的Set对象和一个自定义的迭代器。以下是一个示例代码: function uniqueByProperty(arr, prop) { const seen = new Set(); return arr.filte 阅读全文
posted @ 2024-11-08 10:47 Charles博客 阅读(92) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示