()
| 183 | const display = ref(false) |
| 184 | const component = defineComponent({ |
| 185 | setup() { |
| 186 | const innerValue = ref(false) |
| 187 | watch(display, val => { |
| 188 | innerValue.value = val |
| 189 | }) |
| 190 | return () => { |
| 191 | return h(Transition, () => |
| 192 | withVShow( |
| 193 | h('div', { style: style.value }, innerValue.value), |
| 194 | display.value, |
| 195 | ), |
| 196 | ) |
| 197 | } |
| 198 | }, |
| 199 | }) |
| 200 | render(h(component), root) |
| 201 |