提交 99f8bb98 编写于 作者: Q qiang

fix: previewImage use resize-sensor.css

上级 158a105c
import { BASE_COMPONENTS_STYLE_PATH, H5_API_STYLE_PATH } from './constants'
const RESIZE_SENSOR_CSS = BASE_COMPONENTS_STYLE_PATH + 'resize-sensor.css'
export const API_DEPS_CSS = {
showModal: [`${H5_API_STYLE_PATH}modal.css`],
showToast: [`${H5_API_STYLE_PATH}toast.css`],
showActionSheet: [`${H5_API_STYLE_PATH}action-sheet.css`],
previewImage: [
RESIZE_SENSOR_CSS,
`${BASE_COMPONENTS_STYLE_PATH}swiper.css`,
`${BASE_COMPONENTS_STYLE_PATH}swiper-item.css`,
`${BASE_COMPONENTS_STYLE_PATH}movable-area.css`,
......@@ -13,8 +16,6 @@ export const API_DEPS_CSS = {
openLocation: [`${H5_API_STYLE_PATH}location-view.css`],
}
const RESIZE_SENSOR_CSS = BASE_COMPONENTS_STYLE_PATH + 'resize-sensor.css'
export const COMPONENT_DEPS_CSS = {
canvas: [RESIZE_SENSOR_CSS],
image: [RESIZE_SENSOR_CSS],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册