import { Current } from '@tarojs/runtime' ; /**
 * set writable, enumerable to true
 */ export function setDefaultDescriptor ( obj ) { obj . writable = true ; obj . enumerable = true ; return obj ; } param options export function setRouterParams ( options ) { Current . router = { params : options ?. query , ... options } ; }