@@ -118,8 +118,7 @@ import {
118118 type Component
119119} from ' vue'
120120import { Notify , Loading , TinyPopover , TinyDialogBox } from ' @opentiny/vue'
121- import { useCanvas , useHistory , usePage , useModal , getMetaApi , META_SERVICE } from ' @opentiny/tiny-engine-meta-register'
122- import { extend } from ' @opentiny/vue-renderless/common/object'
121+ import { useCanvas , useModal , getMetaApi , META_SERVICE } from ' @opentiny/tiny-engine-meta-register'
123122import {
124123 TrContainer ,
125124 TrWelcome ,
@@ -175,7 +174,7 @@ export default {
175174 },
176175 emits: [' close-chat' ],
177176 setup() {
178- const { initData, pageState, importSchema, setSaved, clearCurrentState } = useCanvas ()
177+ const { pageState, importSchema, setSaved } = useCanvas ()
179178 const AIModelOptions = getAIModelOptions ()
180179 const robotVisible = ref (false )
181180 const avatarUrl = ref (' ' )
@@ -197,9 +196,6 @@ export default {
197196 const MESSAGE_TIP = ' 已生成新的页面效果,请点击下方按钮应用schema'
198197 const aiType = ref (TALK_TYPE )
199198 const chatContainerRef = ref (null )
200-
201- const { pageSettingState, getDefaultPage } = usePage ()
202- const ROOT_ID = pageSettingState .ROOT_ID
203199 const sleep = (delay ) => new Promise ((resolve ) => setTimeout (resolve , delay ))
204200 watchEffect (() => {
205201 avatarUrl .value = ' img/defaultAvator.png'
@@ -985,7 +981,7 @@ export default {
985981 .action-buttons__utility
986982 .action-buttons__button {
987983 .action-buttons__submit-content {
988- width : 24px ;
984+ width : 24px !important ;
989985 }
990986 .action-buttons__icon {
991987 width : 24px ;
0 commit comments