04 2022 档案
摘要:1、首先,先下载官方插件 官方插件 注意:当时我项目中不想用安装好的 uni-modules , 所以直接把 uni-paination 组件导入到 components 中; 2、页面模版 <!-- 分页 --><uni-pagination :total="total" :current="cu
阅读全文
摘要:setFieldsValue 设置一组输入控件的值,如果设置的 key 是个变量时要用 [] 包裹 const handleTypeChange = (value: IdentifierType, code: string) => { form.setFieldsValue({ [`identifi
阅读全文