Browse Source

修复错误

LUOHAILIANG\Administrator 2 years ago
parent
commit
8ce6c03967
1 changed files with 6 additions and 6 deletions
  1. 6 6
      src/pages/szmsg/tzkc/detail/index.vue

+ 6 - 6
src/pages/szmsg/tzkc/detail/index.vue

@@ -1,11 +1,11 @@
 <script setup>
 import bannerImg from '~/assets/szmsg_tskc/banner.png';
 import { timestamp2string } from '~/utils/string';
-const props = defineProps({
+let props = defineProps({
   id: String
 })
 
-const szmsg_school_notice = $ref([])
+let szmsg_school_notice = $ref([])
 request({
   url: '/szmsg/school_notice/index',
   data: {
@@ -18,7 +18,7 @@ request({
 })
 
 
-const queryForm = reactive({
+let queryForm = reactive({
   grade_id: undefined,
   subject_id: undefined,
   limit: 6,
@@ -32,8 +32,8 @@ watch(
   }
 )
 
-const nj = $ref([])
-const km = $ref([])
+let nj = $ref([])
+let km = $ref([])
 
 function queryParams() {
   return Promise.all([
@@ -95,7 +95,7 @@ function queryYxzp() {
   })
 }
 
-const loading = $ref(true)
+let loading = $ref(true)
 
 Promise.all([queryData(), queryParams(), queryYxzp()]).then(() => {
   loading = false