tall小程序和时间轴结合在小程序中
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
685 B

<template>
<view v-if="pluginContent && pluginContent.html" style="height: 100%">
<!-- <view> {{ pluginContent.html }} </view> -->
<view v-html="pluginContent.html" style="height: 100%"> </view>
<!-- <u-parse :html="pluginContent.html" ref="ht-box"></u-parse> -->
</view>
</template>
<script>
export default {
name: 'Plugin',
data() {
return { pluginContent: null };
},
async mounted() {
await this.getPlugin();
console.log(this.pluginContent.js);
},
methods: {
async getPlugin() {
const res = await this.$u.api.getPlugin({
pluginId: 0,
styleType: 0,
});
this.pluginContent = res;
},
},
};
</script>