Commit e824211d authored by Xuguangxing's avatar Xuguangxing

feat: 开放清除缓存按钮

parent 3583fc0c
......@@ -169,7 +169,7 @@ export default class DynamicPageForm extends Mixins(ContextMenuMixin) {
{
key: 'shareCoverImage'
},
]
];
get propsSchema() {
return [...this.titleSchema, ...this.bottomSchema, ...this.floatSchema, ...this.otherProps];
}
......
......@@ -22,6 +22,7 @@
<div v-if="!hideAdd" class="toolBarStyle">
<h3>查询数据</h3>
<div>
<Button type="warning" class="btnStyle" @click="$emit('clearCache')">清除缓存</Button>
<Button type="primary" class="btnStyle" @click="newEvent()">新增</Button>
<slot></slot>
</div>
......
......@@ -4,6 +4,7 @@
:columns="columns"
:request="query"
@newBtnClick="addPage"
@clearCache="refreshData"
>
</QGTable>
</template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment