fix(playground): 修改生成的链接

This commit is contained in:
sight 2022-02-09 12:03:44 +08:00
parent b024fc2e3e
commit 02be0aa06f

View File

@ -59,8 +59,8 @@ export const usePlayGround = (source: string, convertSetupSugar: boolean) => {
} }
const encoded = utoa(JSON.stringify(originCode)) const encoded = utoa(JSON.stringify(originCode))
//const link = `https://layui-vue.gitee.io/layui-vue-playground/#${encoded}` const link = `https://layui-vue.gitee.io/layui-vue-playground/#${encoded}`
const link = `http://localhost:3001/layui-vue-playground/#${encoded}` //const link = `http://localhost:3001/layui-vue-playground/#${encoded}`
return { return {
code, code,
encoded, encoded,