fix 恢复误删文件
This commit is contained in:
parent
bf3bec9b63
commit
0932013505
16
src/views/demo/map2.ts
Normal file
16
src/views/demo/map2.ts
Normal file
@ -0,0 +1,16 @@
|
||||
import {defineComponent,h} from "vue";
|
||||
|
||||
export default defineComponent({
|
||||
name:"baiduMap",
|
||||
props:{
|
||||
src:{
|
||||
type:String,
|
||||
default:'',
|
||||
}
|
||||
},
|
||||
setup(prop){
|
||||
return ()=>{
|
||||
return h('script',{src:prop.src,type:'text/javascript'})
|
||||
}
|
||||
},
|
||||
})
|
Loading…
x
Reference in New Issue
Block a user