forked from opentiny/tiny-engine
parent
f87fa76335
commit
f8390c0c89
|
@ -99,7 +99,7 @@ function generateStores({ globalState }) {
|
|||
actions: {
|
||||
${getStoreFnStrs(actions)}
|
||||
}
|
||||
})`
|
||||
})\n`
|
||||
|
||||
result += storeCode
|
||||
})
|
||||
|
|
|
@ -358,7 +358,8 @@ export default {
|
|||
(deviceType) => {
|
||||
state.activeIndex = mediaMap[deviceType].index
|
||||
state.readonly = deviceType !== 'mdx'
|
||||
}
|
||||
},
|
||||
{ immediate: true }
|
||||
)
|
||||
|
||||
watchEffect(() => {
|
||||
|
|
Loading…
Reference in New Issue