feat: 更新默认权限,添加窗口标题设置权限;移除不必要的按钮组件
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
"fs:default",
|
||||
"dialog:default",
|
||||
"fs:allow-app-read-recursive",
|
||||
"fs:allow-app-write-recursive"
|
||||
"fs:allow-app-write-recursive",
|
||||
"core:window:allow-set-title"
|
||||
]
|
||||
}
|
||||
@@ -1,8 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { afterNavigate } from '$app/navigation';
|
||||
import Close from '$lib/components/icons/Close.svelte';
|
||||
import NewFolder from '$lib/components/icons/NewFolder.svelte';
|
||||
import OpenFolder from '$lib/components/icons/OpenFolder.svelte';
|
||||
import { currentActivate } from '$lib/stores/navigate';
|
||||
|
||||
afterNavigate(() => {
|
||||
@@ -11,20 +8,6 @@ afterNavigate(() => {
|
||||
</script>
|
||||
|
||||
<main class="px-2 size-full flex flex-col items-stretch gap-1 overflow-hidden">
|
||||
<div class="pt-1 flex flex-row items-center gap-1">
|
||||
<button class="btn btn-ghost btn-sm">
|
||||
<NewFolder width="20" />
|
||||
Create new dataset
|
||||
</button>
|
||||
<button class="btn btn-ghost btn-sm">
|
||||
<OpenFolder width="20" />
|
||||
Open existing dataset
|
||||
</button>
|
||||
<button class="btn btn-ghost btn-sm">
|
||||
<Close width="20" />
|
||||
Close current dataset
|
||||
</button>
|
||||
</div>
|
||||
<div class="grow flex flex-row items-stretch gap-2 px-2 pb-3">
|
||||
<fieldset class="fieldset rounded-box border grow p-4">
|
||||
<legend class="fieldset-legend px-1">Dataset settings</legend>
|
||||
|
||||
Reference in New Issue
Block a user