|
@@ -9,7 +9,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
<!-- 目录 -->
|
|
<!-- 目录 -->
|
|
|
<view class="xuexi-dagang-body">
|
|
<view class="xuexi-dagang-body">
|
|
|
- <view v-for="item in list" @click="handleSelect" :key="item.danyuanId">{{item.name}}</view>
|
|
|
|
|
|
|
+ <view v-for="item in list" @click="handleSelect" :key="item.danyuanId">{{item.danyuanName}}</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</uni-popup>
|
|
</uni-popup>
|
|
@@ -20,7 +20,7 @@
|
|
|
ref
|
|
ref
|
|
|
} from 'vue';
|
|
} from 'vue';
|
|
|
|
|
|
|
|
- const list = [];
|
|
|
|
|
|
|
+ const list = ref([]);
|
|
|
const popupRef = ref(null)
|
|
const popupRef = ref(null)
|
|
|
const emits = defineEmits(['close', 'select'])
|
|
const emits = defineEmits(['close', 'select'])
|
|
|
import * as httpApi from "@/api/chanpinShuxue.js";
|
|
import * as httpApi from "@/api/chanpinShuxue.js";
|