1
This commit is contained in:
@@ -52,22 +52,6 @@ interface obj {
|
||||
}
|
||||
const store = ipoStore();
|
||||
const data = defineProps<{ data: obj[] }>()
|
||||
// var obj = {
|
||||
// 1: proxy.$t('home.Mainboard'),
|
||||
// 2: proxy.$t('home.GEM')
|
||||
// }
|
||||
// data.data.forEach(function(item){
|
||||
// if (isValidKey(item.listPlatform1, obj)) {
|
||||
// item.listPlatform1 = obj[item.listPlatform1]
|
||||
// }
|
||||
// })
|
||||
|
||||
// function isValidKey(
|
||||
// key: string | number | symbol,
|
||||
// object: object
|
||||
// ): key is keyof typeof object {
|
||||
// return key in object;
|
||||
// }
|
||||
const platformTo=(listPlatform1:string)=>{
|
||||
var str=""
|
||||
var obj={
|
||||
|
||||
Reference in New Issue
Block a user