x-extends/vxe-ajax
Fork: 2 Star: 4 (更新于 2024-11-03 02:46:21)
license: MIT
Language: JavaScript .
🍃 用于 Vue 全局安装 xe-ajax
最后发布版本: 2.2.1 ( 2020-09-10 18:54:07)
vxe-ajax
用于 Vue 全局安装 xe-ajax
Installing
npm install xe-ajax vxe-ajax
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<script src="https://cdn.jsdelivr.net/npm/xe-ajax"></script>
<script src="https://cdn.jsdelivr.net/npm/vxe-ajax"></script>
Example
import Vue from 'vue'
import XEAjax from 'xe-ajax'
import VXEAjax from 'vxe-ajax'
Vue.use(VXEAjax, XEAjax)
<template>
<ul>
<li v-for="item in list" :key="item.id">{{ item.name }}</li>
</ul>
</template>
<script>
export default {
data () {
return {
list: []
}
},
created () {
this.$ajax.get('/api/user/list').then(data => {
this.list = data
})
}
}
</script>
License
MIT © 2017-present, Xu Liangzhan
最近版本更新:(数据更新于 2024-09-12 10:34:44)
2020-09-10 18:54:07 2.2.1
2020-06-26 17:11:30 2.2.0
2020-05-23 18:09:21 2.1.2
2020-05-23 18:09:09 2.1.1
2020-05-23 18:08:57 2.1.0
2019-12-22 16:06:13 2.0.1
2019-12-22 16:05:58 2.0.0
2019-08-30 23:44:52 1.7.2
2019-08-24 15:23:11 1.7.1
2019-08-23 19:44:46 1.7.0
主题(topics):
xe-ajax
x-extends/vxe-ajax同语言 JavaScript最近更新仓库
2024-11-22 16:46:00 meshery/meshery
2024-11-21 23:03:24 bia-pain-bache/BPB-Worker-Panel
2024-11-21 22:46:48 MHSanaei/3x-ui
2024-11-21 07:00:59 nodejs/node
2024-11-21 00:49:46 FortAwesome/Font-Awesome
2024-11-18 14:26:02 projectdiscovery/nuclei-templates