Closed AnInputForce closed 6 years ago
应该是后端报错了:
` SequelizeDatabaseError: Unknown column 'Logger.creatorId' in 'field list'
at Query.formatError (/app/node_modules/_sequelize@4.37.10@sequelize/lib/dialects/mysql/query.js:247:16)
at Query.handler [as onResult] (/app/node_modules/_sequelize@4.37.10@sequelize/lib/dialects/mysql/query.js:68:23)
at Query.Command.execute (/app/node_modules/_mysql2@1.5.3@mysql2/lib/commands/command.js:30:12)
at Connection.handlePacket (/app/node_modules/_mysql2@1.5.3@mysql2/lib/connection.js:502:28)
at PacketParser.onPacket (/app/node_modules/_mysql2@1.5.3@mysql2/lib/connection.js:81:16)
at PacketParser.executeStart (/app/node_modules/_mysql2@1.5.3@mysql2/lib/packet_parser.js:77:14)
at Socket.
SequelizeDatabaseError: Field 'createdAt' doesn't have a default value
at Query.formatError (/app/node_modules/_sequelize@4.37.10@sequelize/lib/dialects/mysql/query.js:247:16)
at Query.handler [as onResult] (/app/node_modules/_sequelize@4.37.10@sequelize/lib/dialects/mysql/query.js:68:23)
at Query.Command.execute (/app/node_modules/_mysql2@1.5.3@mysql2/lib/commands/command.js:30:12)
at Connection.handlePacket (/app/node_modules/_mysql2@1.5.3@mysql2/lib/connection.js:502:28)
at PacketParser.onPacket (/app/node_modules/_mysql2@1.5.3@mysql2/lib/connection.js:81:16)
at PacketParser.executeStart (/app/node_modules/_mysql2@1.5.3@mysql2/lib/packet_parser.js:77:14)
at Socket.
`
找到原因了:是自己多执行了sql语句。
后端delos使用的docker镜像 tag1.11 前端nginx + build后的静态页面
无论是直接创建仓库还是在团队创建仓库,均是输入完毕后多次点击创建无反应,弹出窗口也不关闭。 取消后,页面刷新,发现已创建同名仓库若干; 编辑仓库可以正常编辑。