@zhangqingcq/plug-r-qw
Advanced tools
Comparing version 1.0.75 to 1.0.76
{ | ||
"name": "@zhangqingcq/plug-r-qw", | ||
"version": "1.0.75", | ||
"version": "1.0.76", | ||
"description": "this is a collection fo plug-in developed when I was in qw", | ||
@@ -5,0 +5,0 @@ "main": "/lib/plugRQw.umd.min.js", |
@@ -34,2 +34,8 @@ ## formModal 表单弹框组件 | ||
* on-reset 表单被重置,一般用不上,因为该事件是由resetForm方法被调用触发,该方法为异步方法,如果想在重新渲染后进行自定义操作,在调用方法 | ||
的then中处理即可 | ||
* on-re-render 表单被重新渲染,一般用不上,因为该事件是由reRenderForm方法被调用触发,该方法为异步方法,如果想在重新渲染后进行自定义操作, | ||
在调用方法的then中处理即可 | ||
### 方法 | ||
@@ -63,1 +69,8 @@ * open 打开弹框 | ||
* 弹框的开关是v-show控制,开关过程不会重新渲染,表单的操作也会保留,如需重置,可监听on-close事件调用resetForm方法进行处理 | ||
* formData属性不是响应式,如果改变后,需要调用reRenderFrom方法重新渲染表单 | ||
* formRules属性不是响应式,如果改变后,需要调用refreshFormDom刷新dom以显示正确的校验信息 | ||
* 不可调用组件私有方法,除非非常清楚调用不会产生未知错误 |
@@ -54,2 +54,6 @@ ## formR | ||
* on-height-change 表单高度改变,返回表单高度,如果需要根据高度做UI调整可监听该事件 | ||
* on-reset 表单被重置 | ||
* on-re-render 表单被重新渲染 | ||
### 方法 | ||
@@ -56,0 +60,0 @@ * resetForm 重置表单,会清空表单值并刷新表单dom,异步方法 |
@@ -22,2 +22,3 @@ import Hello from "./components/hello.vue" | ||
import formModal from "./components/formModal/formModal.vue" | ||
import searchForm from "./components/searchForm/searchForm.vue" | ||
import messageBox from './methods/messageBox.js' | ||
@@ -61,2 +62,3 @@ import $swal from './windowMethods/swal.js' | ||
formModal, | ||
searchForm, | ||
} | ||
@@ -63,0 +65,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1098920
98
16660