{"id":16347295,"url":"https://github.com/hsiangleev/vue-ajax","last_synced_at":"2025-04-12T08:32:44.904Z","repository":{"id":112080226,"uuid":"103813522","full_name":"hsiangleev/vue-ajax","owner":"hsiangleev","description":null,"archived":false,"fork":false,"pushed_at":"2018-02-07T01:28:58.000Z","size":71,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T04:04:59.216Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hsiangleev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-17T08:17:39.000Z","updated_at":"2020-06-18T21:54:37.000Z","dependencies_parsed_at":"2023-07-18T02:45:32.938Z","dependency_job_id":null,"html_url":"https://github.com/hsiangleev/vue-ajax","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hsiangleev%2Fvue-ajax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hsiangleev%2Fvue-ajax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hsiangleev%2Fvue-ajax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hsiangleev%2Fvue-ajax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hsiangleev","download_url":"https://codeload.github.com/hsiangleev/vue-ajax/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248540278,"owners_count":21121327,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T00:41:08.416Z","updated_at":"2025-04-12T08:32:44.899Z","avatar_url":"https://github.com/hsiangleev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-ajax\n### 我自己封装的vue-ajax插件\n### 使用方法: \n\u003e * 引入文件\n\u003e * new Vue().ajax.get(url,data,fn,ojson), 或 new Vue().ajax.post(url,data,fn,ojson)\n\u003e *     url: 需要获取数据的文件地址 (string)\n\u003e *     data: 需要发送的信息 (可省略) (obj)\n\u003e *     fn: 获取信息后的回调函数,接收到的返回值为data (function)\n\u003e *     ojson: 是否需要转换为json格式 (可省略) (设置为 \"json\")\n\u003e * new Vue().ajax.get().cancel(): 取消异步请求\n\u003e * new Vue().ajax.json(str): 可转化json格式字符串 \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhsiangleev%2Fvue-ajax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhsiangleev%2Fvue-ajax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhsiangleev%2Fvue-ajax/lists"}