1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-09-06 01:09:48 +08:00

fix sticky demo bug

This commit is contained in:
Pan 2019-03-28 14:12:29 +08:00
parent 629d8e7412
commit 8ceecb89e3
3 changed files with 3 additions and 2 deletions

View File

@ -2,6 +2,7 @@ import variables from '@/styles/element-variables.scss'
export default {
theme: variables.theme,
/**
* @type {boolean} true | false
* @description Whether show the settings right-panel

View File

@ -1,6 +1,6 @@
<template>
<div>
<sticky class-name="sub-navbar">
<sticky :z-index="10" class-name="sub-navbar">
<el-dropdown trigger="click">
<el-button plain>
Platform<i class="el-icon-caret-bottom el-icon--right" />

View File

@ -1,7 +1,7 @@
<template>
<div class="createPost-container">
<el-form ref="postForm" :model="postForm" :rules="rules" class="form-container">
<sticky :class-name="'sub-navbar '+postForm.status">
<sticky :z-index="10" :class-name="'sub-navbar '+postForm.status">
<CommentDropdown v-model="postForm.comment_disabled" />
<PlatformDropdown v-model="postForm.platforms" />
<SourceUrlDropdown v-model="postForm.source_uri" />