mirror of
https://github.com/lsky-org/lsky-pro.git
synced 2025-01-09 04:19:32 +08:00
🐛 修复 BUG
This commit is contained in:
parent
f7982d89e8
commit
65e14f78f3
@ -23,7 +23,7 @@
|
||||
- Email: i@wispx.cn
|
||||
|
||||
### 📌 TODO
|
||||
* [ ] 支持多种第三方云储存,本地、AWS S3、阿里云 OSS、腾讯云 COS、七牛云、又拍云、SFTP、FTP、WebDav、Minio
|
||||
* [x] 支持多种第三方云储存,`本地`、`AWS S3`、`阿里云 OSS`、`腾讯云 COS`、`七牛云`、`又拍云`、`SFTP`、`FTP`、`WebDav`、`Minio`
|
||||
* [x] 多种数据库驱动支持,`MySQL 5.7+`、`PostgreSQL 9.6+`、`SQLite 3.8.8+`、`SQL Server 2017+`
|
||||
* [x] 支持配置使用多种缓存驱动,`Memcached`、`Redis`、`DynamoDB`、等其他关系型数据库,默认以文件的方式缓存
|
||||
* [x] 多图上传、拖拽上传、粘贴上传、动态设置策略上传、复制、一键复制链接
|
||||
|
@ -56,6 +56,7 @@ class User extends Authenticatable implements MustVerifyEmail
|
||||
'url',
|
||||
'capacity',
|
||||
'configs',
|
||||
'configs->default_strategy',
|
||||
'registered_ip',
|
||||
];
|
||||
|
||||
|
@ -31,11 +31,13 @@
|
||||
isSelected = true;
|
||||
|
||||
@if(Auth::check())
|
||||
axios.put('{{ route('settings.strategy.set') }}', {id: id}).then(response => {
|
||||
if (! response.data.status) {
|
||||
toastr.error(response.data.message);
|
||||
if (defaultStrategy != id) {
|
||||
axios.put('{{ route('settings.strategy.set') }}', {id: id}).then(response => {
|
||||
if (! response.data.status) {
|
||||
toastr.error(response.data.message);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
@endif
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user