Tauri 创建自定义标题栏 tauri.conf.json
要进行工作调用,请不要忘记在文件中添加窗口权限:
appWindow
tauri.conf.json
"tauri": {
"allowList": {
...
"window": {
"all": false,
"close": true,
"hide": true,
"show": true,
"maximize": true,
"minimize": true,
"unmaximize": true,
"unminimize": true,
"startDragging": true
}
}
...
"windows": [
{
"decorations": false,
...
}
]
}