chore: 移除无用文件
This commit is contained in:
@@ -102,12 +102,6 @@
|
|||||||
}
|
}
|
||||||
window.addEventListener('resize', onResize)
|
window.addEventListener('resize', onResize)
|
||||||
onResize()
|
onResize()
|
||||||
|
|
||||||
function shadowInnerInit(event) {
|
|
||||||
let v = event.currentTarget
|
|
||||||
$(v.parentElement.shadowRoot).append(v.children)
|
|
||||||
v.parentNode.removeChild(v)
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
export default function ShadowInner({ children }) {
|
|
||||||
return (
|
|
||||||
<div onLoad={window.shadowInnerInit}>
|
|
||||||
{children}
|
|
||||||
</div>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user