Skip to content

Commit

Permalink
fix: 修复steps 在小程序样式混乱
Browse files Browse the repository at this point in the history
  • Loading branch information
yang1206 committed Jul 3, 2023
1 parent cb2b772 commit 72bbb19
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion example/src/components.d.ts
Expand Up @@ -84,7 +84,6 @@ declare module '@vue/runtime-core' {
NutSkeleton: typeof import('uniapp-nutui/components/skeleton/skeleton.vue')['default']
NutSku: typeof import('uniapp-nutui/components/sku/sku.vue')['default']
NutSkuHeader: typeof import('uniapp-nutui/components/skuheader/skuheader.vue')['default']
NutSkuOperate: typeof import('uniapp-nutui/components/skuoperate/skuoperate.vue')['default']
NutStep: typeof import('uniapp-nutui/components/step/step.vue')['default']
NutSteps: typeof import('uniapp-nutui/components/steps/steps.vue')['default']
NutSticky: typeof import('uniapp-nutui/components/sticky/sticky.vue')['default']
Expand Down
4 changes: 2 additions & 2 deletions packages/nutui/components/step/step.vue
Expand Up @@ -46,8 +46,8 @@ export default defineComponent({
name: componentName,
options: {
virtualHost: true,
// addGlobalClass: true,
// styleIsolation: 'shared',
addGlobalClass: true,
styleIsolation: 'shared',
},
})
</script>
Expand Down
4 changes: 2 additions & 2 deletions packages/nutui/components/steps/steps.vue
Expand Up @@ -43,8 +43,8 @@ export default defineComponent({
name: componentName,
options: {
virtualHost: true,
// addGlobalClass: true,
// styleIsolation: 'shared',
addGlobalClass: true,
styleIsolation: 'shared',
},
})
</script>
Expand Down

0 comments on commit 72bbb19

Please sign in to comment.