@@ -18,7 +18,7 @@ const getDeviceInfo = () => {
const getShortCut = (fn) =>{
shortcut.hasInstalled({
success: (ret) => {
- if(!ret) fn();
+ fn(ret);
}
})
@@ -97,9 +97,8 @@ export default {
this.getCoustom();
},
onShow(){
- it.getShortCut(()=>{
- this.showShortPop = true;
-
+ it.getShortCut((value)=>{
+ this.showShortPop = !value;
onBackPress() {
@@ -45,9 +45,8 @@ export default {
addShelf() {