no message

This commit is contained in:
kuaifan 2024-12-03 08:30:56 +08:00
parent df917001d3
commit 4c5c071b21
5 changed files with 14 additions and 11 deletions

View File

@ -47,8 +47,7 @@ class FileController extends AbstractController
{
$user = User::auth();
//
$data = Request::all();
$pid = intval($data['pid']);
$pid = intval(Request::input('pid'));
//
return Base::retSuccess('success', (new File)->getFileList($user, $pid));
}

View File

@ -111,6 +111,8 @@ class File extends AbstractModel
* 获取文件列表
* @param user $user
* @param int $pid
* @param string $type
* @param bool $isGetparent
* @return array
*/
public function getFileList($user, int $pid, $type = "all", $isGetparent = true)

View File

@ -351,6 +351,7 @@ function createChildWindow(args) {
browser = preloadWindow;
preloadWindow = null;
isPreload = true;
options.title && browser.setTitle(options.title);
options.parent && browser.setParentWindow(options.parent);
browser.setSize(options.width, options.height);
browser.setMinimumSize(options.minWidth, options.minHeight);

View File

@ -1004,7 +1004,7 @@ export default {
},
showProfessionDesc(dialog_user) {
if (dialog_user) {
if (dialog_user && dialog_user.profession) {
return `[${dialog_user.profession}]`
}
return ''

View File

@ -877,6 +877,7 @@ body.window-portrait {
margin-right: 4px;
}
> em {
display: inline-block;
margin-right: 4px;
cursor: pointer;
color: #2b85e4;