replace export default
with module.exports
so that it can be used in server side
This commit is contained in:
parent
24bc21cc5d
commit
bc00d6f295
@ -12,7 +12,7 @@ const my = {
|
||||
const crypto = require('crypto')
|
||||
const path = require('path')
|
||||
|
||||
export default {
|
||||
module.exports = {
|
||||
// 用直观的色彩,代替语义化的类型:
|
||||
// uView 中大量组件都使用 type 来设置颜色,而 uni-ui 中只有少量组件用到。
|
||||
c2t: {
|
||||
|
Loading…
Reference in New Issue
Block a user