Commit 39e2641c authored by 夏敏伟's avatar 夏敏伟

修改登录页面项目名称

parent 2a1c433f
......@@ -46,7 +46,8 @@ import leftOne from '../assets/img/login/text1.png';
import leftTwo from '../assets/img/login/text2.png';
import rightOne from '../assets/img/login/text3.png';
import rightTwo from '../assets/img/login/text4.png';
import { querySystemName } from '@/api/index';
// import { querySystemName } from '@/api/index';
import { SYSTEM_NAME } from '@/constant/user';
import dayjs from "dayjs";
export default {
name: "login",
......@@ -70,7 +71,7 @@ export default {
day: null,
week: null
},
system_name: ''
system_name: SYSTEM_NAME
};
},
methods: {
......@@ -129,13 +130,13 @@ export default {
const weekList = ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'];
this.myDate.week = weekList[dayjs().get('day')]
},
mounted(){
querySystemName().then(res=>{
res.forEach(item=>{
this.system_name+=item.name;
});
})
}
// mounted(){
// querySystemName().then(res=>{
// res.forEach(item=>{
// this.system_name+=item.name;
// });
// })
// }
};
</script>
<style lang="scss">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment