@wapri/ghooks 0.2.18 → 0.2.19-beta.0
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.
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { onMounted, ref } from 'vue'
|
|
3
3
|
import { useLottie } from '@wapri/ghooks'
|
|
4
4
|
|
|
5
|
-
/** 远程 json 地址:交给 lottie-web 自己发请求,不需要先 fetch */
|
|
6
|
-
const REMOTE_URL = 'https://
|
|
5
|
+
/** 远程 json 地址:交给 lottie-web 自己发请求,不需要先 fetch(示例地址,换成自己的 CDN 即可) */
|
|
6
|
+
const REMOTE_URL = 'https://cdn.example.com/lottie/loading.json'
|
|
7
7
|
|
|
8
8
|
const container = ref<HTMLElement>()
|
|
9
9
|
const status = ref('远程资源加载中…')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wapri/ghooks",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.19-beta.0",
|
|
4
4
|
"description": "hooks工具库",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"lottie-api": "^1.0.3",
|
|
16
16
|
"lottie-web": "^5.13.0",
|
|
17
17
|
"vue-hooks-plus": "^2.4.3",
|
|
18
|
-
"@wapri/gbase": "^1.0.0",
|
|
19
|
-
"@wapri/ghermes": "^
|
|
18
|
+
"@wapri/gbase": "^1.0.1-beta.0",
|
|
19
|
+
"@wapri/ghermes": "^3.0.0-beta.0"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"access": "public",
|