提交初始版本,使用vant ui库
This commit is contained in:
12
miniprogram_npm/@vant/weapp/tree-select/index.wxs
Normal file
12
miniprogram_npm/@vant/weapp/tree-select/index.wxs
Normal file
@@ -0,0 +1,12 @@
|
||||
/* eslint-disable */
|
||||
var array = require('../wxs/array.wxs');
|
||||
|
||||
function isActive (activeList, itemId) {
|
||||
if (array.isArray(activeList)) {
|
||||
return activeList.indexOf(itemId) > -1;
|
||||
}
|
||||
|
||||
return activeList === itemId;
|
||||
}
|
||||
|
||||
module.exports.isActive = isActive;
|
Reference in New Issue
Block a user