diff --git a/packages/popup/index.wxml b/packages/popup/index.wxml index f3fd7cfa..0be99d46 100644 --- a/packages/popup/index.wxml +++ b/packages/popup/index.wxml @@ -12,7 +12,7 @@ diff --git a/packages/popup/index.wxs b/packages/popup/index.wxs index 8c766dcd..8d59f245 100644 --- a/packages/popup/index.wxs +++ b/packages/popup/index.wxs @@ -1,7 +1,7 @@ /* eslint-disable */ var style = require('../wxs/style.wxs'); -function popupClass(data) { +function popupStyle(data) { return style([ { 'z-index': data.zIndex, @@ -14,5 +14,5 @@ function popupClass(data) { } module.exports = { - popupClass: popupClass, + popupStyle: popupStyle, };