Explorar el Código

feat:弹窗组件修改

ljc hace 2 meses
padre
commit
6c885cab6f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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>