@antv/dumi-theme-antv 0.8.0-beta.18 → 0.8.0-beta.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -31,10 +31,8 @@ export function useAntVConfig() {
|
|
|
31
31
|
return useQuery({
|
|
32
32
|
queryKey: ['antv-config'],
|
|
33
33
|
queryFn: getAntVConfig,
|
|
34
|
-
staleTime: 24 * 60 * 60 * 1000,
|
|
35
|
-
// 一天内数据不会被认为是 "stale",不会触发后台刷新
|
|
36
34
|
initialData: {
|
|
37
|
-
"VisionSnapVersion": "3.4.
|
|
35
|
+
"VisionSnapVersion": "3.4.11",
|
|
38
36
|
"library": ["G2", "F2", "G6"]
|
|
39
37
|
}
|
|
40
38
|
});
|
|
@@ -14,7 +14,7 @@ function TaskBox() {
|
|
|
14
14
|
var _useAntVConfig = useAntVConfig(),
|
|
15
15
|
_useAntVConfig$data = _useAntVConfig.data,
|
|
16
16
|
_useAntVConfig$data2 = _useAntVConfig$data === void 0 ? {
|
|
17
|
-
VisionSnapVersion: '3.4.
|
|
17
|
+
VisionSnapVersion: '3.4.11'
|
|
18
18
|
} : _useAntVConfig$data,
|
|
19
19
|
version = _useAntVConfig$data2.VisionSnapVersion;
|
|
20
20
|
var snap = useSnapshot(AIChatStore);
|