MyGit

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)

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-11-05 19:13:47 jerryc127/hexo-theme-butterfly

2024-11-05 13:53:42 LiteLoaderQQNT/LiteLoaderQQNT

2024-11-03 02:40:36 chris81605/Degrees-of-Lewdity_Cheat_Extended

2024-11-01 21:55:46 projectdiscovery/nuclei-templates

2024-11-01 19:24:44 NumberSir/DoL-I18n-Build

2024-11-01 12:25:14 midoks/mdserver-web