Conversation
--story=1017864 --user=王孝刚 【应用】上传音频文件类型中支持m4a类型 #2276 https://www.tapd.cn/57709429/s/1654257
|
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
| const audioExtensions = ['mp3', 'wav', 'ogg', 'aac', 'm4a'] | ||
|
|
||
| const getAcceptList = () => { | ||
| const { image, document, audio, video } = props.applicationDetails.file_upload_setting |
There was a problem hiding this comment.
There are no significant issues with the current code, but here is a minor suggestion:
- Remove Trailing Commas: The trailing comma after
props.applicationDetails.file_upload_settingcould be removed to make the syntax more concise.
Revised Code:
@@ -260,7 +260,7 @@
const localLoading = computed({
const imageExtensions=['jpg','jpeg','png','gif','bmp']
const documentExtensions=['pdf','docx','txt','xls','xlsx','md','html','csv']
const videoExtensions =['mp4','avi','mov','mkv','flv']
-const audioExtensions=['mp3','wav','ogg','aac']
+const audioExtensions=['mp3','wav','ogg','aac','m4a']
const getAcceptList = () => {
const {image , document, audio, video} = props.applicationDetails.file_upload_settingThis change makes the syntax cleaner and less error-prone.
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
feat: audio support m4a --story=1017864 --user=王孝刚 【应用】上传音频文件类型中支持m4a类型 #2276 https://www.tapd.cn/57709429/s/1654257