Browse Source

fix: 科研成果换行

master
xuesinan 4 years ago
parent
commit
03df109bc3
  1. 5
      src/components/tall/task/ScientificPayoffs.vue

5
src/components/tall/task/ScientificPayoffs.vue

@ -37,12 +37,12 @@
</div>
<template v-else-if="['information', 'result', 'sourceCode'].includes(column.dataIndex)">
<a class="truncate" style="color: #1890ff" :href="text" target="_blank" :title="text">{{ text }}</a>
<a class="break-all" style="color: #1890ff" :href="text" target="_blank" :title="text">{{ text }}</a>
</template>
<template v-else-if="['report', 'course'].includes(column.dataIndex)">
<a
class="truncate"
class="break-all"
style="color: #1890ff"
:href="!text || !text.url ? '' : text.url"
target="_blank"
@ -191,7 +191,6 @@ async function getExperimentations() {
if (item.report) item.report = JSON.parse(item.report);
if (item.course) item.course = JSON.parse(item.course);
});
console.log(data);
dataList.value = data;
} catch (error) {
message.info(error);

Loading…
Cancel
Save