Support live recursive folder shares and follow subject moves
This commit is contained in:
1 parent
89472fe6fd
commit
84e89c8fe4
17 files changed
+620
-127
No files matched your search
@@ -1,6 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import Icon from './Icon.vue'
|
||||
import { noteTitle } from './paths'
|
||||
import { basename } from './paths'
|
||||
import SharePanel from './SharePanel.vue'
|
||||
|
||||
defineProps<{ path: string }>()
|
||||
@@ -9,9 +9,9 @@ const emit = defineEmits<{ close: [] }>()
|
||||
|
||||
<template>
|
||||
<div class="rm-dialog-backdrop" @click.self="emit('close')">
|
||||
<div class="rm-dialog rm-share-dialog" role="dialog" :aria-label="`分享“${noteTitle(path)}”`">
|
||||
<div class="rm-dialog rm-share-dialog" role="dialog" :aria-label="`分享“${basename(path)}”`">
|
||||
<div class="rm-dialog-head">
|
||||
<h2>分享“{{ noteTitle(path) }}”</h2>
|
||||
<h2>分享“{{ basename(path) }}”</h2>
|
||||
<button class="rm-icon-btn" title="关闭" @click="emit('close')"><Icon name="close" /></button>
|
||||
</div>
|
||||
<SharePanel :path="path" />
|
||||
|
||||
Reference in new issue
Block a user