x
This commit is contained in:
+11
-1
@@ -1002,7 +1002,17 @@ const ResultView = {
|
||||
loadTask();
|
||||
});
|
||||
|
||||
return { state, formatFileSize, formatDateTime, formatNumber };
|
||||
const getPriorityText = (priority) => {
|
||||
const priorityMap = {
|
||||
'critical': '紧急',
|
||||
'high': '高',
|
||||
'medium': '中',
|
||||
'low': '低'
|
||||
};
|
||||
return priorityMap[priority] || priority;
|
||||
};
|
||||
|
||||
return { state, formatFileSize, formatDateTime, formatNumber, getPriorityText };
|
||||
},
|
||||
template: `
|
||||
<div class="page-container">
|
||||
|
||||
Reference in New Issue
Block a user