refactor: 新用户增加删除的使用提示
This commit is contained in:
parent
e623e3dbc4
commit
81f260b13e
|
@ -12,7 +12,8 @@ module.exports = {
|
||||||
assetsPublicPath: '/',
|
assetsPublicPath: '/',
|
||||||
proxyTable: {
|
proxyTable: {
|
||||||
'/v1/': {
|
'/v1/': {
|
||||||
target: 'http://localhost:9060/',
|
// target: 'http://localhost:9060/',
|
||||||
|
target: 'https://tekii.cn/',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -33,5 +33,22 @@
|
||||||
background: #cccccc00;
|
background: #cccccc00;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<script>
|
||||||
|
if (!localStorage.isOldUser) {
|
||||||
|
let isPhone = false
|
||||||
|
for (let name of ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"]) {
|
||||||
|
if (navigator.userAgent.indexOf(name) > -1) {
|
||||||
|
isPhone = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
console.log(isPhone?'手机用户':'电脑用户')
|
||||||
|
if (isPhone) {
|
||||||
|
alert('NER中,双击删除实体\n待标注文本需要txt格式的压缩包')
|
||||||
|
} else {
|
||||||
|
alert('NER中,鼠标右键删除实体\n待标注文本需要txt格式的压缩包')
|
||||||
|
}
|
||||||
|
localStorage.isOldUser = Date.now()
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue