|
@@ -1,5 +1,6 @@
|
|
|
import {FunctionTrigger,DownTrigger,LocationTrigger} from '$mixins/trigger/class/index';
|
|
|
import popup from "$utils/tool/popup";
|
|
|
+import {PopupExportComponent} from "$popup/popup-export/const";
|
|
|
|
|
|
export default <LibDataArray>[
|
|
|
{
|
|
@@ -17,6 +18,9 @@ export default <LibDataArray>[
|
|
|
{
|
|
|
label:'客户端下载',
|
|
|
icon:require('../images/client.png'),
|
|
|
- trigger: new LocationTrigger('https://www.baidu.com')
|
|
|
+ // trigger: new LocationTrigger('https://www.baidu.com')
|
|
|
+ trigger: new FunctionTrigger(function (item){
|
|
|
+ return popup.$open(PopupExportComponent.downloadApp);
|
|
|
+ }),
|
|
|
}
|
|
|
]
|