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.
......@@ -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">
......
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