2025-06-06 16:00:39 +08:00

42 lines
903 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<view>
<view-grid ref="grid" :index="true" :options="options">
<!-- 自定义slot -->
<view @click="viewClick" slot="gridHeader" class="grid-header">
{{gridHeaderText}}
</view>
</view-grid>
</view>
</template>
<script>
//************************************************
// *Authorjxx
// *QQ283591387
// *自定义业务逻辑扩展
//************************************************
import extend from './#TableNameExtend.js'
import options from './#TableNameOptions.js';
export default {
data() {
let _options = options();
_options.extend = extend;
return {
gridHeaderText: "",//随便输入字符后可以显示出来
options: _options
}
},
onShow() {
},
methods: {
viewClick() {
//获取生成页面grid的对象
console.log(this.$refs.grid.searchFormFields)
}
}
}
</script>
<style>
</style>