Forráskód Böngészése

feat:弹窗组件修改

ljc 2 hónapja
szülő
commit
6c885cab6f
1 módosított fájl, 1 hozzáadás és 1 törlés
  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">
             <view class="dialog-footer" v-if="props.showFooters">
                 <!-- 自定义底部插槽 -->
                 <!-- 自定义底部插槽 -->
-                <template v-if="$slots.footer">
+                <template v-if="slots.footer">
                     <slot name="footer" />
                     <slot name="footer" />
                 </template>
                 </template>