@@ -61,6 +61,14 @@ export default defineComponent({
})
} catch {}
},
+ unmounted() {
+ this.background = '#fff'
+ this.color = '#333'
+ postMessage({
+ api: 'backIconChange',
+ content: { iconStyle: 'black' }
+ })
+ },
methods: {
async _init() {
try {
@@ -43,7 +43,10 @@ export default defineComponent({
/>
</div>
<div style={{ display: active.value === 2 ? 'block' : 'none' }}>
- <CreateClass onBack={() => active.value = 1} active={active.value} />
+ <CreateClass
+ onBack={() => (active.value = 1)}
+ active={active.value}
+ />
)