fix:更新ts配置文件
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
<div class="left">
|
||||
<div class="title">组件</div>
|
||||
<VueDraggable
|
||||
v-model="store.component"
|
||||
v-model="store.components"
|
||||
:animation="150"
|
||||
:group="{ name: 'people', pull: 'clone', put: false }"
|
||||
:sort="false"
|
||||
@ -31,7 +31,7 @@
|
||||
ghost-class="ghost"
|
||||
class="canvas"
|
||||
>
|
||||
<template v-for="item in store.preview" :key="item.id">
|
||||
<template v-for="item in store.previewScheme" :key="item.id">
|
||||
<component
|
||||
:is="componentsList[item?.code]"
|
||||
:data="item"
|
||||
@ -141,7 +141,7 @@ const onStart = function () {
|
||||
}
|
||||
|
||||
const view = () => {
|
||||
localStorage.setItem("lowcode", JSON.stringify(store.preview));
|
||||
localStorage.setItem("lowcode", JSON.stringify(store.previewScheme));
|
||||
window.open(location.href.replace("/#/", "/preview/#/"));
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user