change 'module.exports = ' to 'export default'

This commit is contained in:
陆柯 2022-02-14 12:11:12 +08:00
parent 1515115673
commit dfa1ae0179

View File

@ -1,16 +1,8 @@
// uniapp people side tools // 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 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 的命名方式: // 用直观的色彩,代替 uview 的命名方式:
RED: 'error', RED: 'error',
GREEN: 'success', GREEN: 'success',