mirror of https://github.com/openspug/spug
fix issues
parent
f273e44b63
commit
1b32f356d0
|
@ -23,6 +23,10 @@ export default observer(function () {
|
|||
)
|
||||
|
||||
function handleSubmit() {
|
||||
const {dst_dir, dst_repo} = store.deploy;
|
||||
if (dst_repo.includes(dst_dir.replace(/\/*$/, ''))) {
|
||||
return message.error('存储路径不能位于部署路径内')
|
||||
}
|
||||
setLoading(true);
|
||||
const info = store.deploy;
|
||||
info['app_id'] = store.app_id;
|
||||
|
|
Loading…
Reference in New Issue