| | |
| | | import { getQueryString, getTopUrl } from '@/utils/util'; |
| | | import { getDetail } from '@/api/system/sysConfig' |
| | | import website from '@/config/website'; |
| | | |
| | | import getBaseConfig from '@/buildConfig/config' |
| | | const { loginTitle} = getBaseConfig() |
| | | export default { |
| | | name: 'login', |
| | | components: { |
| | |
| | | data() { |
| | | return { |
| | | login:{ |
| | | info: '中图智绘低空无人机监测网平台' |
| | | info: loginTitle |
| | | }, |
| | | website: website, |
| | | time: '', |
| | |
| | | created() { |
| | | this.handleLogin(); |
| | | this.getTime(); |
| | | if(!loginTitle) { |
| | | this.getSysConfigInfo(); |
| | | } |
| | | |
| | | }, |
| | | mounted() {}, |
| | | computed: { |
| | |
| | | let sysConfigId = this.$route.query?.id || 1; |
| | | getDetail(sysConfigId).then(res=>{ |
| | | this.login.info = res.data.data.name |
| | | |
| | | }) |
| | | }, |
| | | getTime() { |