selectedTagName(tags) {
let selectedTagName = "";
store.state.tagListData.filter(item => {
if (tags.tagId === item.tagId) {
selectedTagName = item.label;
}
});
return selectedTagName;
},
selectedTagStyle(tags) {
let selectedTagStyle = "";
store.state.tagListData.filter(item => {
if (tags.tagId === item.tagId) {
selectedTagStyle = item.color;
}
});
return selectedTagStyle;
},
min2hour(value) {
let hour = Math.floor(value / 60);
let min = value % 60;
return hour + "時間" + min + "分";
}
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
List of users who liked
00