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:
parent
629d8e7412
commit
8ceecb89e3
@ -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
|
||||
|
@ -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" />
|
||||
|
@ -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" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user