fix(playground): 修改生成的链接
This commit is contained in:
parent
b024fc2e3e
commit
02be0aa06f
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user