diff --git a/index.js b/index.js index b4a9309..27ae6eb 100644 --- a/index.js +++ b/index.js @@ -1,16 +1,8 @@ // uniapp people side tools -// #ifdef H5 -// import device from 'current-device' // https://github.com/matthewhudson/current-device -// if (device.mobile()){ -// }else if (device.desktop()){ -// }else if (device.tablet()){ -// } -// #endif - import './ican-H5Api.js' // 对齐H5Api: https://ext.dcloud.net.cn/plugin?id=415 // 注意要取消默认自带的 showToast https://uniapp.dcloud.io/api/system/clipboard?id=%e6%b3%a8%e6%84%8f -module.exports = { +export default { // 用直观的色彩,代替 uview 的命名方式: RED: 'error', GREEN: 'success',