소스 검색

feat:弹窗组件修改

ljc 2 달 전
부모
커밋
6c885cab6f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      components/cwg-popup.vue

+ 1 - 1
components/cwg-popup.vue

@@ -14,7 +14,7 @@
             <!-- 底部按钮区域 - 支持多种模式 -->
             <view class="dialog-footer" v-if="props.showFooters">
                 <!-- 自定义底部插槽 -->
-                <template v-if="$slots.footer">
+                <template v-if="slots.footer">
                     <slot name="footer" />
                 </template>