Przeglądaj źródła

活化利用两个bug修改

wangshuo 4 miesięcy temu
rodzic
commit
52b29fb42b

+ 3 - 1
index_fenbao/HuoHuaLiYong/YouJin/YouJin.vue

@@ -11,7 +11,9 @@
 			<view class="lx_tit">
 				<view class="">
 					<text style="color: #d85f4c">{{ list.title }}:</text>
-					{{ list.content }}
+					<view class="text">
+						<u-parse :content="list.content"></u-parse>
+					</view>
 				</view>
 			</view>
 		</view>

+ 2 - 6
index_fenbao/HuoHuaLiYong/chanPin/gengDuoChengGuo.vue

@@ -29,13 +29,9 @@ export default {
 	},
 	methods: {
 		travelPath() {
-			this.$api.getMainBodyColumnContentList({ main_body_id: 1, model_id: 11 }, function (res) {
-				res.data.forEach((item) => {
-					if (item.name == '活化利用成果') {
-						that.achievement = item.content_list;
+			this.$api.getContentList({ main_body_id: 1, model_id: 11, main_body_column_id: 84 }, function (res) {
+						that.achievement = res.data;
 						console.log(that.achievement, '活化利用成果');
-					}
-				});
 			});
 		}
 	}