增加登录页面

This commit is contained in:
Anyon 2021-12-21 14:25:57 +08:00
parent 457de6c57b
commit 027ecc2bc8
3 changed files with 17 additions and 2 deletions

View File

@ -6,7 +6,9 @@ window.appRoot = (function (script) {
;(async () => {
const options = {
moduleCache: {
vue: Vue, less: less
vue: Vue,
less: less,
cache: {},
}, getFile(url) {
if (!(/^(https?:)?\/\//)) {
url = (appRoot + url).replace(/\/+.?\/+/g, '/');

View File

@ -268,7 +268,7 @@ body > .el-container {
<script>
export default {
components: {},
name: 'layout',
data() {
return {
menus: [

13
static/template/login.vue Normal file
View File

@ -0,0 +1,13 @@
<template>
</template>
<script>
export default {
name: "login"
}
</script>
<style scoped>
</style>