06 2021 档案

摘要:很简单 1 formatJsonData(jsonData) { 2 var smapleDetailData = JSON.stringify(JSON.parse(jsonData), null, 2); 3 return smapleDetailData; 4 }, 主要是第二行代码,OK, 阅读全文
posted @ 2021-06-22 16:57 zzzzzyyyyyy 阅读(283) 评论(0) 推荐(0)
摘要:在js中,每个对象都有set和get方法,也可以自己进行定义,这里先简单说下用法 var person = { _name:'小花', get name() { return this._name + 'get方法' }, set name(n) { this._name = n + '调用了set 阅读全文
posted @ 2021-06-17 17:02 zzzzzyyyyyy 阅读(2267) 评论(0) 推荐(0)
摘要:1 <el-table-column label="任务名称" width="120px" align="center" :show-overflow-tooltip="true"> 2 <template slot-scope="scope"> 3 <a 4 href="javascript:vo 阅读全文
posted @ 2021-06-10 15:45 zzzzzyyyyyy 阅读(900) 评论(0) 推荐(0)
摘要:<a class="abAccount" :href="`${personDetailUrl}` + scope.row.personId" target="_blank" title="进入人物主页" >{{scope.row.accountName}}</a> 阅读全文
posted @ 2021-06-03 17:49 zzzzzyyyyyy 阅读(123) 评论(0) 推荐(0)
摘要:timeFormat(timestamp) { if (timestamp) { var time = new Date(timestamp); var year = time.getFullYear(); var month = time.getMonth() + 1 < 10 ? "0" + ( 阅读全文
posted @ 2021-06-01 16:45 zzzzzyyyyyy 阅读(366) 评论(0) 推荐(0)