Kaynağa Gözat

feat:弹窗组件修改

ljc 2 ay önce
ebeveyn
işleme
6c885cab6f
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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>