Your ROOT_URL in app.ini is http://git.zky.com/ but you are visiting http://61.178.84.89:8998/wangxy/hyp-front/commit/e8ccb41072900f6f2b37af241debf632d173dadd?style=split&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
4 additions and
1 deletions
@ -376,6 +376,7 @@ export default {
if ( index !== - 1 ) {
if ( index !== - 1 ) {
this . fileData [ index ] . childrenList . push ( {
this . fileData [ index ] . childrenList . push ( {
name : item . fileName ,
name : item . fileName ,
fileName : item . realName ,
url : item . filePath ,
url : item . filePath ,
state : item . fileState ,
state : item . fileState ,
fileId : item . fileId ,
fileId : item . fileId ,
@ -425,6 +426,7 @@ export default {
if ( index !== - 1 ) {
if ( index !== - 1 ) {
this . fileData [ index ] . childrenList . push ( {
this . fileData [ index ] . childrenList . push ( {
name : item . fileName ,
name : item . fileName ,
fileName : item . realName ,
url : item . filePath ,
url : item . filePath ,
state : item . fileState ,
state : item . fileState ,
fileId : item . fileId ,
fileId : item . fileId ,
@ -18,7 +18,7 @@
< el -table -column prop = "name" label = "文件名称" >
< el -table -column prop = "name" label = "文件名称" >
< template slot -scope = " scope " >
< template slot -scope = " scope " >
< el -link style = "margin-right: auto;" :href ="`${baseUrl}${scope.row.url}`" :underline ="false" target = "_blank" >
< el -link style = "margin-right: auto;" :href ="`${baseUrl}${scope.row.url}`" :underline ="false" target = "_blank" >
< span class = "el-icon-document" > { { getFileName ( scope . row . n ame) } } < / span >
< span class = "el-icon-document" > { { getFileName ( scope . row . fileN ame) } } < / span >
< / e l - l i n k >
< / e l - l i n k >
< / template >
< / template >
< / e l - t a b l e - c o l u m n >
< / e l - t a b l e - c o l u m n >
@ -116,6 +116,7 @@ export default {
if ( response . code === 200 ) {
if ( response . code === 200 ) {
row . childrenList . push ( {
row . childrenList . push ( {
name : file . raw . name ,
name : file . raw . name ,
fileName : item . realName ,
url : response . data . filePath ,
url : response . data . filePath ,
state : response . data . fileState ,
state : response . data . fileState ,
fileId : response . data . fileId ,
fileId : response . data . fileId ,