fix: play should use modified code

This commit is contained in:
Justineo
2022-01-28 19:00:57 +08:00
parent a82b8738f5
commit 99b00ff3ce

View File

@@ -262,7 +262,7 @@ export default {
methods: {
play (vendor) {
let locale = getLocale(this.$route.path)
play(this.code, { locale, vendor })
play(this.localCode, { locale, vendor })
},
async copy () {
try {