(condition: boolean, msg: string)
| 86 | } |
| 87 | |
| 88 | export function warn (condition: boolean, msg: string) { |
| 89 | if (process.env.NODE_ENV !== 'production') { |
| 90 | if (condition) { |
| 91 | console.warn(`[taro warn] ${msg}`) |
| 92 | } |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | export function queryToJson (str) { |
| 97 | const dec = decodeURIComponent |
no test coverage detected