You need to sign in or sign up before continuing.

Auto Commit

上级 9cdb11ee
...@@ -175,6 +175,9 @@ function initFirstData() { ...@@ -175,6 +175,9 @@ function initFirstData() {
onUnmounted(() => { onUnmounted(() => {
window.onresize = null window.onresize = null
}) })
const jumpUrl = (url) => {
window.open(url, '_blank')
}
} }
</script> </script>
...@@ -182,7 +185,7 @@ function initFirstData() { ...@@ -182,7 +185,7 @@ function initFirstData() {
<div class="container"> <div class="container">
<div> <div>
<a-input-search v-model:value="state.searchValue" :disabled="state.loading" placeholder="输入用户id" enter-button <a-input-search v-model:value="state.searchValue" :disabled="state.loading" placeholder="输入用户id" enter-button
@search="onSearch" /> @search="onSearch" />
</div> </div>
<br> <br>
<div> <div>
...@@ -190,7 +193,7 @@ function initFirstData() { ...@@ -190,7 +193,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 :href="record.url"> <a @click="jumpUrl(record.url)">
{{ 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.
先完成此消息的编辑!
想要评论请 注册