fix interface
This commit is contained in:
1 parent
6dc099f3d3
commit
0b64df7b38
1 file changed
+8
-5
@@ -8,12 +8,15 @@
|
|||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import PlatformService from '@/services/platform/service';
|
import PlatformService from '@/services/platform/service';
|
||||||
import { IPlatformListResponse } from '@/services/platform/types';
|
import { IPlatform, IPlatformListResponse } from '@/services/platform/types';
|
||||||
|
import { defineComponent, PropType } from 'vue';
|
||||||
|
|
||||||
console.log('PlatformService', PlatformService);
|
interface IData {
|
||||||
|
items: IPlatform[];
|
||||||
|
}
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
data() {
|
data(): IData {
|
||||||
return {
|
return {
|
||||||
items: []
|
items: []
|
||||||
};
|
};
|
||||||
@@ -25,5 +28,5 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
methods: {}
|
methods: {}
|
||||||
};
|
});
|
||||||
</script>
|
</script>
|
||||||
Reference in new issue
Block a user