mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-01-23 10:50:24 +08:00
commit
71e2176a35
@ -91,7 +91,7 @@ func (s *sView) RenderTpl(ctx context.Context, tpl string, data ...model.View) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
content := ""
|
content := ""
|
||||||
if !gres.IsEmpty() {
|
if !gres.IsEmpty() && gres.Contains(tpl) {
|
||||||
content = string(gres.GetContent(tpl))
|
content = string(gres.GetContent(tpl))
|
||||||
} else {
|
} else {
|
||||||
content = gfile.GetContents(tpl)
|
content = gfile.GetContents(tpl)
|
||||||
|
@ -102,6 +102,7 @@
|
|||||||
message.error('请填写完整信息');
|
message.error('请填写完整信息');
|
||||||
}
|
}
|
||||||
formBtnLoading.value = false;
|
formBtnLoading.value = false;
|
||||||
|
loading.value = false;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user