diff --git a/src/pages-evaluation-sub/uni_modules/lime-echart/readme.md b/src/pages-evaluation-sub/uni_modules/lime-echart/readme.md index 41ff84e..e47d092 100644 --- a/src/pages-evaluation-sub/uni_modules/lime-echart/readme.md +++ b/src/pages-evaluation-sub/uni_modules/lime-echart/readme.md @@ -166,7 +166,7 @@ import * as echarts from 'echarts' ``` ```js -const chartRef = ref < any > null +const chartRef = ref(null) const option = { tooltip: { trigger: 'axis', diff --git a/src/pages-sub/components/collapse/CollapseItem.vue b/src/pages-sub/components/collapse/CollapseItem.vue index 95df741..b64f885 100644 --- a/src/pages-sub/components/collapse/CollapseItem.vue +++ b/src/pages-sub/components/collapse/CollapseItem.vue @@ -132,10 +132,10 @@ const props = defineProps({ // 生成随机元素ID,用于解决百度小程序获取同一个元素位置信息的bug const elId = ref(`Uni_${Math.ceil(Math.random() * 10e5).toString(36)}`) const isOpen = ref(false) -const isheight = ref < any > null +const isheight = ref(null) const height = ref(0) const nameSync = ref('0') -const collapseHook = ref < any > null +const collapseHook = ref(null) const proxy = getCurrentInstance() // 获取折叠面板父组件上下文 diff --git a/src/pages-sub/home/major/components/MajorList.vue b/src/pages-sub/home/major/components/MajorList.vue index 93b69b5..1ce83cf 100644 --- a/src/pages-sub/home/major/components/MajorList.vue +++ b/src/pages-sub/home/major/components/MajorList.vue @@ -35,7 +35,7 @@ const props = defineProps({ }) const menus = ref([]) -const currentMenuObj = ref(null) +const currentMenuObj = ref(null) const changeMenu = (item: any) => { currentMenuObj.value = item diff --git a/src/pages-sub/home/wishesList/components/ScrollListItem.vue b/src/pages-sub/home/wishesList/components/ScrollListItem.vue index 3f8d9b1..b1a89f7 100644 --- a/src/pages-sub/home/wishesList/components/ScrollListItem.vue +++ b/src/pages-sub/home/wishesList/components/ScrollListItem.vue @@ -52,7 +52,6 @@ -