feat: 更改 api 引入的方法更合理化

This commit is contained in:
FairyEver
2020-12-28 14:06:04 +08:00
parent 219906665a
commit e02f4909d0
13 changed files with 134 additions and 159 deletions

View File

@@ -8,10 +8,12 @@
</template>
<script>
import { DEMO_LOG_AJAX } from '@/api/demo.js'
export default {
methods: {
handleClick () {
this.$api.DEMO_LOG_AJAX()
DEMO_LOG_AJAX()
}
}
}