feat: ✨ 更改 api 引入的方法更合理化
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user