rabin 2 years ago
parent
commit
d9e1d72300
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lib/Manage.php

+ 2 - 2
lib/Manage.php

@@ -43,7 +43,7 @@ class Manage
             $info['background'] = Dever::pic($file);
         }
 
-        //$info['background'] = Dever::local($info['background']);
+        $info['background'] = $info['background'] . '?v=' . time();
 
         $info['background'] = "background-image:url('".$info['background']."');";
 
@@ -87,7 +87,7 @@ class Manage
 
                 $edit_link = Dever::url('project/database/update&project=poster&table=model&where_id=' . $v['id'], 'manage');
                 $del_link = Dever::url('database.delete_action&project=poster&table=model&where_id=' . $v['id'], 'manage');
-                
+
                 $data[$k]['content'] .= '<ul class="custom-context-menu hidden"><li class="edit" onclick="fastEdit($(this), \''.$edit_link.'\', \'编辑\', \'\')">编辑</li><li class="del" onclick="del_act(\''.$del_link.'\')">删除</li></ul>';
 
     			$p = explode(',', $v['position']);