vue-axios-wrapper

时间:2021-04-23 17:20:59
【文件属性】:
文件名称:vue-axios-wrapper
文件大小:66KB
文件格式:ZIP
更新时间:2021-04-23 17:20:59
Vue 请求使用混合 基本使用方式: 它可以是方法,发布或放置。 this . request ( "post" , this . route , this . form ) ; 带有选项: this . request ( "post" , this . route , this . form , { onSuccess : ( ) => { // método a ser chamado se o post der certo this . $emit ( "saved" ) ; this . showModal = false ; } , } ) ; 如果您不想在默认位置显示错误(不包括验证错误): this . request ( "post" , ` ${ this . route } ` , this . form , { shouldDisplay
【文件预览】:
vue-axios-wrapper-master
----.gitignore(8B)
----package.json(410B)
----src()
--------PickImage.vue(2KB)
--------DisplayErrorsComponent.vue(229B)
--------ErrorsModalComponent.vue(722B)
--------LoadingButtonComponent.vue(586B)
--------mixins()
----img()
--------tucano.png(57KB)
--------warning-button.png(2KB)
----readme.md(4KB)

网友评论