Commit 95017b9a by yuwei

项目初始化

parent 44629732
<template> <template>
<div class="login-container" :style="'background-image:url('+ Background +');'"> <div class="login-container" :style="'background-image:url('+ background +');'">
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form" auto-complete="on" label-position="left"> <el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form" auto-complete="on" label-position="left">
<div class="title-container"> <div class="title-container">
<h3 class="title">系统登陆</h3> <h3 class="title">系统登陆</h3>
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<script> <script>
import { log } from '@/api/system/user' import { log } from '@/api/system/user'
import Background from '@/assets/images/background.jpg' import background from '@/assets/images/background.jpg'
export default { export default {
name: 'Login', name: 'Login',
...@@ -41,7 +41,7 @@ export default { ...@@ -41,7 +41,7 @@ export default {
} }
} }
return { return {
Background: Background, background: background,
loginForm: { loginForm: {
username: 'admin', username: 'admin',
password: '123456' password: '123456'
......
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