mirror of
https://git.beihong.wang/wangbeihong/iot-bedroom-environment-controller.git
synced 2026-04-24 07:33:04 +08:00
增加补充相关资料和小程序源码
This commit is contained in:
13
微信小程序源码/iot-home/node_modules/@vant/weapp/lib/wxs/object.wxs
generated
vendored
Normal file
13
微信小程序源码/iot-home/node_modules/@vant/weapp/lib/wxs/object.wxs
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
/* eslint-disable */
|
||||
var REGEXP = getRegExp('{|}|"', 'g');
|
||||
|
||||
function keys(obj) {
|
||||
return JSON.stringify(obj)
|
||||
.replace(REGEXP, '')
|
||||
.split(',')
|
||||
.map(function(item) {
|
||||
return item.split(':')[0];
|
||||
});
|
||||
}
|
||||
|
||||
module.exports.keys = keys;
|
||||
Reference in New Issue
Block a user