mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-03 13:44:47 +08:00
feat: 通过iframe引入按钮组件页面
This commit is contained in:
19
src/views/components/button/index.vue
Normal file
19
src/views/components/button/index.vue
Normal file
@@ -0,0 +1,19 @@
|
||||
<template>
|
||||
<iframe src="./button.html" frameborder="0" class="iframe"></iframe>
|
||||
</template>
|
||||
|
||||
<script lang='ts'>
|
||||
export default {
|
||||
setup() {
|
||||
return {};
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.iframe {
|
||||
width:98%;
|
||||
height:90vh;
|
||||
border-radius: 6px;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user