MyGit

x-extends/vxe-ajax

Fork: 2 Star: 4 (更新于 2024-11-25 16:12:02)

license: MIT

Language: JavaScript .

🍃 用于 Vue 全局安装 xe-ajax

最后发布版本: 2.2.1 ( 2020-09-10 18:54:07)

GitHub网址

vxe-ajax

gitee star npm version npm build npm downloads gzip size: JS npm license

用于 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-12-22 13:19:55 gethomepage/homepage

2024-12-22 11:34:40 chris81605/Degrees-of-Lewdity_Cheat_Extended

2024-12-22 00:44:14 gorhill/uBlock

2024-12-21 12:14:02 layui/layui

2024-12-21 03:44:01 emberjs/ember.js

2024-12-20 02:57:09 nodejs/node