build+copy+sh+bugs

This commit is contained in:
LinskRuis.32 2020-10-09 21:51:11 +08:00
parent 0455c41b9a
commit 301c64c133
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ import (
) )
func main() { func main() {
bts, _ := ioutil.ReadFile("uis/vue-admin/dist/1.zip") bts, _ := ioutil.ReadFile("uis/vue-admin/dist/dist.zip")
cont := base64.StdEncoding.EncodeToString(bts) cont := base64.StdEncoding.EncodeToString(bts)
ioutil.WriteFile("bin/zip.txt", []byte(cont), 0644) ioutil.WriteFile("bin/zip.txt", []byte(cont), 0644)
} }

File diff suppressed because one or more lines are too long

View File

@ -121,7 +121,7 @@ import ModelForm from './ModelForm'
},handleRun(et){ },handleRun(et){
this.$post('/model/run',{id:et.Id}).then(res=>{ this.$post('/model/run',{id:et.Id}).then(res=>{
//this.$message(''); //this.$message('');
this.$router.push('/models/info?id='+res.data); this.$router.push('/models/plug/runs?id='+res.data);
}).catch(err=>{ }).catch(err=>{
this.$message({ this.$message({
message: err.response?err.response.data||'服务器错误':'网络错误', message: err.response?err.response.data||'服务器错误':'网络错误',