|
@@ -51,8 +51,14 @@ const toProfile = async () => {
|
|
|
push('/user/profile')
|
|
|
}
|
|
|
const toDocument = () => {
|
|
|
- window.open('https://doc.iocoder.cn/')
|
|
|
+ window.open('http://172.16.59.50:9000/graduate/bdc2494f918eb9c98e8125a9b97c703f7ebcf846de0125958a525319fd3ad854.pdf')
|
|
|
}
|
|
|
+// const toDocument = () => {
|
|
|
+// // 假设这是你的PDF文件的URL
|
|
|
+// const pdfUrl = 'http://172.16.59.50:9000/graduate/bdc2494f918eb9c98e8125a9b97c703f7ebcf846de0125958a525319fd3ad854.pdf';
|
|
|
+// // 使用window.open打开一个新的标签页或窗口
|
|
|
+// window.open(pdfUrl, '_blank');
|
|
|
+// };
|
|
|
</script>
|
|
|
|
|
|
<template>
|
|
@@ -71,7 +77,8 @@ const toDocument = () => {
|
|
|
</ElDropdownItem>
|
|
|
<ElDropdownItem>
|
|
|
<Icon icon="ep:menu" />
|
|
|
- <div @click="toDocument">{{ t('common.document') }}</div>
|
|
|
+ <!-- <div @click="toDocument">{{ t('common.document') }}</div> -->
|
|
|
+ <div @click="toDocument">{{ '操作手册' }}</div>
|
|
|
</ElDropdownItem>
|
|
|
<ElDropdownItem divided>
|
|
|
<Icon icon="ep:lock" />
|