完善订单详情和售后退款 TODO 提到的问题

This commit is contained in:
puhui999
2023-09-06 11:23:16 +08:00
parent 46fd154e3a
commit 73628d3930
7 changed files with 55 additions and 38 deletions

View File

@ -68,7 +68,6 @@ export const getBoolDictOptions = (dictType: string) => {
*/
export const getDictObj = (dictType: string, value: any): DictDataType | undefined => {
const dictOptions: DictDataType[] = getDictOptions(dictType)
console.log(dictOptions)
for (const dict of dictOptions) {
if (dict.value === value + '') {
return dict