Commit 42a05859 by qinjianhui

fix: optimize

parent e6229f0a
<script lang="tsx" setup>
const props = defineProps({
content: {
type: null,
},
})
const render = () => {
return props.content
}
</script>
<template>
<render />
</template>
// import xxx from './xxx'
// const yyy = xxx
// export default [xxx, yyy]
export default (deps) => {
return <>
{xxx(deps)}
<div style>
{yyy(deps)}
</div>
</>
}
export default ({ xxxref }) => {
const handleClick = () => {
// ....
}
return (
<>
<button onClick={handleClick}>刷新订单状态</button>
<dialog />
</>
)
}
export default (status) => {
const fns = [xxx, yyy]
if (status ==== 'x') {
fns.push(zzz)
}
return fns
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment