You need to sign in or sign up before continuing.

Auto Commit

上级 24e25ce3
...@@ -185,7 +185,7 @@ function initFirstData() { ...@@ -185,7 +185,7 @@ function initFirstData() {
onUnmounted(() => { onUnmounted(() => {
window.onresize = null window.onresize = null
}) })
const jumpUrl = (url) => { function jumpUrl(url){
window.open(url, '_blank') window.open(url, '_blank')
} }
} }
...@@ -203,7 +203,7 @@ function initFirstData() { ...@@ -203,7 +203,7 @@ function initFirstData() {
:loading="state.loading" :pagination="state.pagination"> :loading="state.loading" :pagination="state.pagination">
<template #bodyCell="{ column, record }"> <template #bodyCell="{ column, record }">
<template v-if="column.key === 'url'"> <template v-if="column.key === 'url'">
<a @click="jumpUrl(record.url)"> <a :href="record.url" target="_blank">
{{ record.url }} {{ record.url }}
</a> </a>
</template> </template>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册