<template>
	<div class="root">
		<copyright />
	</div>
</template>

<script lang="ts" setup>
import {axios, Copyright, SettingMapper} from "timi-web";
import CommonAPI from "../src/api/CommonAPI";

onMounted(async () => {
	const result = await CommonAPI.settingMap({
		"SYSTEM": [
			"SETTING_TTL"
		]
	});
	SettingMapper.appendSettingMap(result);


	console.log(SettingMapper.getValue("SYSTEM", "SETTING_TTL").value);
})

</script>
<style lang="less" scoped>
.root {
	width: 80%;

	.sp {
		height: 520px;
	}
}
</style>
