更换cdn源

This commit is contained in:
aixianling
2022-08-29 13:43:56 +08:00
parent 981c6cf3f8
commit 183885134d

View File

@@ -36,9 +36,9 @@ export default {
this.ref = "AiSprite_" + new Date().getTime()
},
mounted() {
this.$injectLib("https://unpkg.com/spritejs/dist/spritejs.min.js", () => {
this.$injectLib("https://cdn.cunwuyun.com/spritejs/spritejs.min.js", () => {
if (this.is3D) {
this.$injectLib("http://unpkg.com/sprite-extend-3d/dist/sprite-extend-3d.js", () => {
this.$injectLib("https://cdn.cunwuyun.com/spritejs/sprite-extend-3d.js", () => {
this.init()
})
} else this.init()