|
@@ -162,7 +162,7 @@
|
|
|
{{ currentDetail.context }}
|
|
{{ currentDetail.context }}
|
|
|
</p>
|
|
</p>
|
|
|
<span
|
|
<span
|
|
|
- v-if="currentDetail.context && currentDetail.context.length > 100"
|
|
|
|
|
|
|
+ v-if="currentDetail.context && currentDetail.context.length > 50"
|
|
|
class="expand-btn"
|
|
class="expand-btn"
|
|
|
@click="toggleDescription"
|
|
@click="toggleDescription"
|
|
|
>
|
|
>
|
|
@@ -497,8 +497,8 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script setup lang="ts" name="dynamicManagementIndex">
|
|
<script setup lang="ts" name="dynamicManagementIndex">
|
|
|
-import { ref, reactive, computed, onMounted, watch } from "vue";
|
|
|
|
|
-import { useRouter } from "vue-router";
|
|
|
|
|
|
|
+import { ref, reactive, computed, onMounted, onActivated, watch } from "vue";
|
|
|
|
|
+import { useRouter, useRoute } from "vue-router";
|
|
|
import { ElMessage, ElMessageBox } from "element-plus";
|
|
import { ElMessage, ElMessageBox } from "element-plus";
|
|
|
import {
|
|
import {
|
|
|
Picture,
|
|
Picture,
|
|
@@ -1623,6 +1623,11 @@ const handleBlockUser = async (skipConfirm: boolean = false) => {
|
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
|
loadDynamicList();
|
|
loadDynamicList();
|
|
|
});
|
|
});
|
|
|
|
|
+
|
|
|
|
|
+// 页面激活时刷新列表(从发布页面返回时触发)
|
|
|
|
|
+onActivated(() => {
|
|
|
|
|
+ loadDynamicList();
|
|
|
|
|
+});
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
|
<style scoped lang="scss">
|