仿互站小程序

This commit is contained in:
Drawfans
2020-06-09 16:17:23 +08:00
commit 7bfd53851e
321 changed files with 22890 additions and 0 deletions

8
vant/wxs/object.wxs Normal file
View File

@@ -0,0 +1,8 @@
var REGEXP = getRegExp('{|}|\x22', 'g');
function keys(obj) {
return (JSON.stringify(obj).replace(REGEXP, '').split(',').map((function(item) {
return (item.split(':')[(0)])
})))
};
module.exports.keys = keys;