no message
Former-commit-id: 3c8b725b82460ee3a1b5c2ff54bdd8e6d78b63c0 Former-commit-id: 3ad6a05be509ffe7268381c01c32074662f0d0af Former-commit-id: 6a8bc07bb5bd109d413d40743c0b0751fcd09caa
This commit is contained in:
@@ -62,7 +62,7 @@ export default {
|
||||
submit () {
|
||||
this.$refs.loginForm.validate((valid) => {
|
||||
if (valid) {
|
||||
this.$axios({
|
||||
this.$http({
|
||||
method: 'post',
|
||||
url: '/login',
|
||||
data: {
|
||||
|
||||
@@ -36,7 +36,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
async getReadme () {
|
||||
const { data } = await this.$axios.get('/static/markdownFiles/demo/baseMarkdowmFile.md')
|
||||
const { data } = await this.$http.get('/static/markdownFiles/demo/baseMarkdowmFile.md')
|
||||
return data
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
async getReadme () {
|
||||
const { data } = await this.$axios.get('/static/markdownFiles/demo/baseMarkdowmFile.md')
|
||||
const { data } = await this.$http.get('/static/markdownFiles/demo/baseMarkdowmFile.md')
|
||||
return data
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
ajax () {
|
||||
this.$axios.get('/api/demo/001')
|
||||
this.$http.get('/api/demo/001')
|
||||
.then(res => {
|
||||
this.table.columns = Object.keys(res.data.list[0]).map(e => ({
|
||||
label: e,
|
||||
|
||||
Reference in New Issue
Block a user