logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

TextEditingController的实现

TextEditingValue.empty) 表示,如果外部传入的value值不是null,就以value赋值,如果value是null,就使用TextEditingValue的空值来赋值。TextEditingController 继承 ValueNotifier ,在TextEditingController 中可以监听TextEditingValue跟这个类的值的变化,构建时,通过supe

文章图片
#flutter
uniapp列表有数据,把数据传入点击事件打印出来是undefined, 因为key是undefined

:key很关键,如果 :key 是undeifined, 那么 toggle 事件传入的 item 打印出来将会是 undefined<view class="cu-list-content" v-for="(item, index) in products" :key="item.id">{{JSON.stringify(item)}}<view class="cu-item"

#javascript#小程序
git submodule fatal: please stage your changes to .gitmodules or stash them to proceed

git submodule 子模块删除/添加$ git submodule add gitlab.xxx.com/xxx/sub_project1.git$ git rm --cached sub_project1sub_project1 already exists in the indexPlease stage your changes to .gitmodules or stash the

#git#github
到底了