sonic icon indicating copy to clipboard operation
sonic copied to clipboard

主题编辑问题

Open soease opened this issue 2 years ago • 1 comments

检查清单

是什么版本出现了此问题?

1.02

使用的什么数据库?

SQLite3

使用的哪种方式部署?

Executable file

在线站点地址

No response

发生了什么?

后台主题编辑,第一次选中文件可以显示并编辑保存,以后点击任何文件都不显示内容。 Firefox和Edge均是

相关日志输出

No response

附加信息

No response

soease avatar Nov 16 '22 12:11 soease

请问解压后安装配置那个./sonic 程序在哪啊 解压后目录下都没有./sonic这个命令 也没有sonic这个文件夹

evahere avatar Nov 17 '22 08:11 evahere

go-sonic/console#1 已提交admin页面修复pr,同时需要修改api/admin/themes/XXX/files接口,目前返回的文件可编辑属性editable判断逻辑为当前用户是否有文件可读权限,参考halo应该只放开模板,js,css还有相关配置文件的修改就可以

hooxuu avatar Dec 06 '22 14:12 hooxuu