如何解决javascript,在注册模块上生成密码字段
我正在尝试学习如何编写一个简单的扩展程序(我不是开发人员,所以请对我温柔点)。
这是我的代码:
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('GigoClean',style: TextStyle(
fontFamily: 'Roboto',),centerTitle: true,backgroundColor: Colors.cyanAccent[400],`body: Center(
child: Stack(
children: <Widget>[
Container(
decoration: new Boxdecoration(
image: new decorationImage(image: new Assetimage("assets/bg.png"),fit: BoxFit.cover,Column(
children: [
Container(
padding: EdgeInsets.fromLTRB(0,90.0,0),child: Image.asset('assets/intro.jpg'),Container(
padding: EdgeInsets.fromLTRB(15,40,15,child: Text('Get ready to make your life easy with single click of app,which makes your cleaning easy.',textAlign: TextAlign.center,
现在我可以看到 2 个字段,但是当我写一个从 0 到 9 的数字时什么也没有发生(我猜这会生成一个随机密码。
你能帮我吗?
解决方法
尝试改变
oninput: "makeid()",
到:
oninput: makeid,
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。