33 lines
520 B
Vue
33 lines
520 B
Vue
<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>
|