onsen-ui滑动菜单打开两次

时间:2015-12-02 18:35:56

标签: javascript html angularjs onsen-ui

我有一个滑动菜单,我放在我的应用程序的每个页面上。奇怪的是,在根主页以外的所有页面上,滑动菜单并排打开两次。我似乎无法弄清楚为什么会这样。我已经将swipable从true设置为false,这并没有改变任何东西。还试图显示/推送类型,这也没有提供不同的结果。

知道为什么会这样吗?谢谢!

signal.welch(x, fs=48000.0, window='hamming', nperseg=512, noverlap=256, nfft=512, detrend='linear', return_onesided=True, scaling='density', axis=-1)

2 个答案:

答案 0 :(得分:0)

尝试使用swipeable属性而不是" swipable" :)

答案 1 :(得分:0)

也许改变:

    public static long GetListSizeForItemVersions(SPList list)
    {
        long longInt = 0;
        long byteSize = (from iItem in list.Items.OfType<SPListItem>()
                         where iItem.ParentList.EnableVersioning == true && iItem.Versions.Count > 1
                         from vItem in iItem.Versions.OfType<SPListItemVersion>()
                         select long.TryParse(vItem["File_x0020_Size"].ToString(), out longInt) ? longInt : 0)
                 .Sum();

        return byteSize;
    }
    public static long GetListSizeForItemVersions2(SPList list)
    {
        long byteSize = 0;
        long fileSize = 0;
        foreach (SPListItem item in list.Items)
        {
            if (item.ParentList.EnableVersioning == true && item.Versions.Count > 1)
            {
                for (int i = 0; i < item.Versions.Count; i++)
                {
                    long.TryParse(item.Versions[i]["File_x0020_Size"].ToString(), out fileSize);
                    byteSize += fileSize;
                }
            }
        }
        return byteSize;
    }

    public static long GetListSizeForCurrentItems(SPList list)
    {
        long longInt = 0;
        long byteSize = (from item in list.Items.OfType<SPListItem>()
                         where item.ParentList.EnableVersioning == false
                         select long.TryParse(item["File_x0020_Size"].ToString(), out longInt) ? longInt : 0)
                         .Sum();
        return byteSize;
    }
    public static long GetListSizeForCurrentItems2(SPList list)
    {
        long byteSize = 0;
        long fileSize = 0;
        foreach (SPListItem item in list.Items)
        {
            long.TryParse(item["File_x0020_Size"].ToString(), out fileSize);
            byteSize += fileSize;
        }
        return byteSize;

    }

var="app.slidingMenu"

var="app.slidingMenu.nameOfYourPage"

以便每个菜单都有自己的变量名称