|
|
@ -1,6 +1,6 @@ |
|
|
|
<template> |
|
|
|
<view class="u-font-14" style="height: 100%"> |
|
|
|
<view v-if="pluginContent"> |
|
|
|
<view v-if="pluginContent" @click="setStorage"> |
|
|
|
<view |
|
|
|
:data-did="task.detailId" |
|
|
|
:data-param="param" |
|
|
@ -19,7 +19,7 @@ |
|
|
|
></view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view v-else> |
|
|
|
<view v-else @click="setStorage"> |
|
|
|
<!-- <plugin-default /> --> |
|
|
|
<!-- <component :task="task" :is="pluginComponent"></component> --> |
|
|
|
<p-task-title :task="task" v-if="pluginId === '1'" /> |
|
|
@ -139,6 +139,11 @@ export default { |
|
|
|
document.body.append(scriptDom); |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
// 点击时存储 storage |
|
|
|
setStorage() { |
|
|
|
this.$t.storage.setStorageSync('roleId', this.roleId); |
|
|
|
}, |
|
|
|
}, |
|
|
|
}; |
|
|
|
</script> |
|
|
|