mirror of
https://github.com/flipped-aurora/gin-vue-admin.git
synced 2026-09-21 12:32:25 +00:00
修复init初始化失败页面跳转到空白的错误
修复model模板string给予长度导致的初始化错误
This commit is contained in:
@@ -74,7 +74,6 @@ export default {
|
||||
console.log(this.hello)
|
||||
},
|
||||
async onSubmit() {
|
||||
this.out = true
|
||||
const loading = this.$loading({
|
||||
lock: true,
|
||||
text: '正在初始化数据库,请稍候',
|
||||
@@ -84,6 +83,7 @@ export default {
|
||||
try {
|
||||
const res = await initDB(this.form)
|
||||
if (res.code === 0) {
|
||||
this.out = true
|
||||
this.$message({
|
||||
type: 'success',
|
||||
message: res.msg
|
||||
|
||||
Reference in New Issue
Block a user