fix(browser): host agent browser in workbench
This commit is contained in:
1 parent
9a1f182397
commit
efb44f9340
12 files changed
+136
-41
No files matched your search
@@ -109,7 +109,7 @@ const STUB = `<script>
|
||||
browser: {
|
||||
create: async()=>({id:'offline-browser',title:'离线浏览器',url:'about:blank'}),
|
||||
get: async(id)=>({id:id,title:'',url:'about:blank',canGoBack:false,canGoForward:false,loading:false}),
|
||||
navigate: async()=>({}), back: async()=>({}), forward: async()=>({}), reload: async()=>({}), bounds: async()=>{}, close: async()=>{}, rebind: async()=>{}
|
||||
navigate: async()=>({}), back: async()=>({}), forward: async()=>({}), reload: async()=>({}), bounds: async()=>{}, close: async()=>{}, rebind: async()=>{}, onEvent:()=>()=>{}
|
||||
},
|
||||
terminal: {
|
||||
create: async()=>({id:'offline-terminal',title:'终端'}),
|
||||
|
||||
Reference in new issue
Block a user