fix(web): bump thumbV to v5 to avoid stale thumbnail cache
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -868,7 +868,7 @@ function StyleModal({
|
|||||||
const [parsing, setParsing] = useState(false);
|
const [parsing, setParsing] = useState(false);
|
||||||
const [parseError, setParseError] = useState<string | null>(null);
|
const [parseError, setParseError] = useState<string | null>(null);
|
||||||
const fileInputRef = useRef<HTMLInputElement>(null);
|
const fileInputRef = useRef<HTMLInputElement>(null);
|
||||||
const thumbV = "v1";
|
const thumbV = "v5";
|
||||||
const STYLE_THUMB: Record<string, string> = {
|
const STYLE_THUMB: Record<string, string> = {
|
||||||
"自动": `/home/styles/auto.webp?${thumbV}`,
|
"自动": `/home/styles/auto.webp?${thumbV}`,
|
||||||
"自定义风格": `/home/styles/custom.webp?${thumbV}`,
|
"自定义风格": `/home/styles/custom.webp?${thumbV}`,
|
||||||
|
|||||||
Reference in New Issue
Block a user