fix: 修复专业不显示
parent
44bc58294d
commit
698807a531
|
|
@ -166,7 +166,7 @@ import * as echarts from 'echarts'
|
||||||
```
|
```
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const chartRef = ref < any > null
|
const chartRef = ref(null)
|
||||||
const option = {
|
const option = {
|
||||||
tooltip: {
|
tooltip: {
|
||||||
trigger: 'axis',
|
trigger: 'axis',
|
||||||
|
|
|
||||||
|
|
@ -132,10 +132,10 @@ const props = defineProps({
|
||||||
// 生成随机元素ID,用于解决百度小程序获取同一个元素位置信息的bug
|
// 生成随机元素ID,用于解决百度小程序获取同一个元素位置信息的bug
|
||||||
const elId = ref(`Uni_${Math.ceil(Math.random() * 10e5).toString(36)}`)
|
const elId = ref(`Uni_${Math.ceil(Math.random() * 10e5).toString(36)}`)
|
||||||
const isOpen = ref(false)
|
const isOpen = ref(false)
|
||||||
const isheight = ref < any > null
|
const isheight = ref(null)
|
||||||
const height = ref(0)
|
const height = ref(0)
|
||||||
const nameSync = ref('0')
|
const nameSync = ref('0')
|
||||||
const collapseHook = ref < any > null
|
const collapseHook = ref(null)
|
||||||
const proxy = getCurrentInstance()
|
const proxy = getCurrentInstance()
|
||||||
|
|
||||||
// 获取折叠面板父组件上下文
|
// 获取折叠面板父组件上下文
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ const props = defineProps({
|
||||||
})
|
})
|
||||||
|
|
||||||
const menus = ref<any[]>([])
|
const menus = ref<any[]>([])
|
||||||
const currentMenuObj = ref<any>(null)
|
const currentMenuObj = ref(null)
|
||||||
|
|
||||||
const changeMenu = (item: any) => {
|
const changeMenu = (item: any) => {
|
||||||
currentMenuObj.value = item
|
currentMenuObj.value = item
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,6 @@
|
||||||
</text>
|
</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<DataTable :data="college.childItems" v-bind="$attrs" />
|
<DataTable :data="college.childItems" v-bind="$attrs" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue