소스 검색

视频页优化

pansl 1 년 전
부모
커밋
69f9afd40d
2개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      common/config.js
  2. 0 1
      pages/video/index.nvue

+ 1 - 1
common/config.js

@@ -20,7 +20,7 @@ uni.getSystemInfo({
 			} else if (envVersion === 'trial') {
 				//体验版
 				config = {
-					apiUrl: "https://api.zhiyupa.com",
+					apiUrl: "https://api.duanju.dududus.com",
 					staticUrl: 'https://xjc.demo.hongcd.com/img/', //静态图片地址https://xjc.demo.hongcd.com
 					zystaticUrl: "",
 					TabbarIndex: 2

+ 0 - 1
pages/video/index.nvue

@@ -388,7 +388,6 @@
 		watch: {
 			activeIndex: {
 				handler(newVal, oldVal) {
-					this.initTabs()
 					let index = this.labelList.findIndex(el => el.content.includes(newVal))
 					console.log(index, 'newValnewVal', this.labelList, newVal)
 					this.tabcurrent = index