Commit 99181e41 authored by Muhammadali's avatar Muhammadali

update version:

parent 8be471d9
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "0.3.7", "version": "0.3.8",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -370,10 +370,10 @@ export class BoxDialer { ...@@ -370,10 +370,10 @@ export class BoxDialer {
const { item } = event.getData(); const { item } = event.getData();
const dialog = event.getTarget(); const dialog = event.getTarget();
const selectedItems = dialog.getSelectedItems(); const selectedItems = dialog.getSelectedItems();
item.customData.forEach((v, key) => console.log(v, key));
let phoneUserNumber = item.customData.map( let phoneUserNumber = item.customData.map(
(value, key) => key === 'ufPhoneInner' && value, (value, key) => key === 'ufPhoneInner' && value,
)[0] / console.log(phoneUserNumber, 'select item'); )[0];
console.log(phoneUserNumber, 'select item');
}, },
get 'Item:onSelect'() { get 'Item:onSelect'() {
return this['_Item:onSelect']; return this['_Item:onSelect'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment