This repository was archived by the owner on Jan 20, 2021. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 <div class =" resource-details__name" >
2424 <div class =" avatar" >
2525 <slot name =" avatar" >
26- <os-logo v-if =" resource.ostypeid || resource.ostypename" :osId =" resource.ostypeid" :osName =" resource.ostypename" size =" 4x" />
26+ <os-logo v-if =" resource.ostypeid || resource.ostypename" :osId =" resource.ostypeid" :osName =" resource.ostypename" size =" 4x" @update-osname = " (name) => this.resource.ostypename = name " />
2727 <a-icon v-else-if =" typeof $route.meta.icon ==='string'" style =" font-size : 36px " :type =" $route.meta.icon" />
2828 <a-icon v-else style =" font-size : 36px " :component =" $route.meta.icon" />
2929 </slot >
Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ export default {
117117 } else {
118118 this .osLogo = ' linux'
119119 }
120+ this .$emit (' update-osname' , this .name )
120121 }
121122 }
122123}
You can’t perform that action at this time.
0 commit comments