Auto Commit

上级 9cdb11ee
......@@ -175,6 +175,9 @@ function initFirstData() {
onUnmounted(() => {
window.onresize = null
})
const jumpUrl = (url) => {
window.open(url, '_blank')
}
}
</script>
......@@ -182,7 +185,7 @@ function initFirstData() {
<div class="container">
<div>
<a-input-search v-model:value="state.searchValue" :disabled="state.loading" placeholder="输入用户id" enter-button
@search="onSearch" />
@search="onSearch" />
</div>
<br>
<div>
......@@ -190,7 +193,7 @@ function initFirstData() {
:loading="state.loading" :pagination="state.pagination">
<template #bodyCell="{ column, record }">
<template v-if="column.key === 'url'">
<a :href="record.url">
<a @click="jumpUrl(record.url)">
{{ record.url }}
</a>
</template>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册