🚧 Site > Add file
This commit is contained in:
@@ -14,5 +14,9 @@ export default
|
||||
|
||||
methods:
|
||||
{
|
||||
onNameClick()
|
||||
{
|
||||
this.$store.commit('setFile', this.content.data.path.full)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
<div>
|
||||
<div class="name" :style="{ paddingLeft:depth * 20 + 'px' }">
|
||||
<div class="name" :style="{ paddingLeft:depth * 20 + 'px' }" @click.prevent="onNameClick">
|
||||
{{ content.name }}
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user