|
@@ -27,7 +27,12 @@
|
|
|
<!-- 如果只有一个模块 -->
|
|
|
<div
|
|
|
class="oneTabNum"
|
|
|
- v-if="flooTab.length === 1 && data[myType] && data[myType].length"
|
|
|
+ v-if="
|
|
|
+ flooTab.length === 1 &&
|
|
|
+ data[myType] &&
|
|
|
+ data[myType].length &&
|
|
|
+ data[myType].length > 1
|
|
|
+ "
|
|
|
>
|
|
|
{{ myInd + 1 }} / {{ data[myType].length }}
|
|
|
</div>
|
|
@@ -212,7 +217,7 @@ export default {
|
|
|
}/hot/js/data.js?time=${Math.random()}`;
|
|
|
let result = (await this.$http.get(url)).data;
|
|
|
const resData = result[this.m];
|
|
|
- console.log("----", resData);
|
|
|
+ // console.log("----", resData);
|
|
|
if (resData) {
|
|
|
this.audio = resData.backgroundMusic;
|
|
|
// 只有单独的音频上传
|