Commit 2b2bbe2a authored by bobo826's avatar bobo826

feat: 项目搭建第一次提交

parent 3b739d89
......@@ -32,6 +32,7 @@ module.exports = {
'eol-last': 0,
'object-curly-spacing': 0,
'padded-blocks': 0,
'no-trailing-spaces': 0
'no-trailing-spaces': 0,
'linebreak-style': [0, 'error', 'window']
},
};
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -56,4 +56,4 @@
},
"description": "教学管理项目",
"author": "黄露"
}
\ No newline at end of file
}
......@@ -10,8 +10,8 @@
<script>
import { mapMutations } from 'vuex';
import { login, userinfo } from '@/api';
import { mapMutations } from 'vuex'
import { login, userinfo } from '@/api'
import {GkHeader} from '@/components'
export default {
......@@ -24,18 +24,17 @@ export default {
GkHeader
},
mounted() {
login('huanglu', '123').then((res) => {
console.log(res);
});
})
userinfo({ id: '2424' }).then((res) => {
console.log('userinfo ----> ', res);
});
})
},
methods: {
...mapMutations(['changeName']),
},
};
}
}
</script>
<style lang="scss">
......
......@@ -16,10 +16,10 @@ export default {
}
</script>
<style lang='scss' scoped>
.gk-header {
display: flex;
flex-flow: row;
align-items: center;
background: #1438ED;
}
.gk-header {
display: flex;
flex-flow: row;
align-items: center;
background: #1438ED;
}
</style>
\ No newline at end of file
import HelloWorld from './hello-world';
import GkHeader from './header';
import GkHeader from './Header';
export { HelloWorld, GkHeader };
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