更换cdn源
This commit is contained in:
@@ -36,9 +36,9 @@ export default {
|
|||||||
this.ref = "AiSprite_" + new Date().getTime()
|
this.ref = "AiSprite_" + new Date().getTime()
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.$injectLib("https://unpkg.com/spritejs/dist/spritejs.min.js", () => {
|
this.$injectLib("https://cdn.cunwuyun.com/spritejs/spritejs.min.js", () => {
|
||||||
if (this.is3D) {
|
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()
|
this.init()
|
||||||
})
|
})
|
||||||
} else this.init()
|
} else this.init()
|
||||||
|
|||||||
Reference in New Issue
Block a user