|
@@ -20,7 +20,7 @@
|
|
|
class="ml-10px"
|
|
|
plain
|
|
|
@click="handleAnalysis"
|
|
|
- >查看</el-button>
|
|
|
+ >抓取网页信息</el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
</ContentWrap>
|
|
@@ -221,17 +221,17 @@ const showPage = (res) => {
|
|
|
|
|
|
// 解析
|
|
|
const handleAnalysis = async () => {
|
|
|
- if (!queryParams.urls) return message.warning('请输入要解析的新任命链接')
|
|
|
+ if (!queryParams.urls) return message.warning('请输入要抓取的新任命链接')
|
|
|
|
|
|
if (contents.value?.length > 0) {
|
|
|
- await message.confirm('是否确认重新解析?确认后当前内容将会清空!')
|
|
|
+ await message.confirm('是否确认重新抓取?确认后当前内容将会清空!')
|
|
|
// 重置右侧标签及表单
|
|
|
emit('reset')
|
|
|
}
|
|
|
|
|
|
const loading = ElLoading.service({
|
|
|
lock: true,
|
|
|
- text: '正在加载中...',
|
|
|
+ text: '网页信息抓取中...',
|
|
|
background: 'rgba(0, 0, 0, 0.7)',
|
|
|
})
|
|
|
|
|
@@ -245,7 +245,7 @@ const handleAnalysis = async () => {
|
|
|
return
|
|
|
}
|
|
|
|
|
|
- if (urlArr.length > 1) return message.warning('只支持单个链接解析')
|
|
|
+ if (urlArr.length > 1) return message.warning('只支持单个链接抓取')
|
|
|
|
|
|
const base_url = import.meta.env.VITE_NODE_BASE_URL
|
|
|
axios.post(`${base_url}/process-urls`, { urlArr }, { timeout: 60000 }).then(res => {
|