fix bug, 解决tauri打包没有网络访问的问题

This commit is contained in:
zilong
2021-10-25 19:11:19 +08:00
parent d40c8eea47
commit e766634a42
6 changed files with 36 additions and 32 deletions

View File

@@ -84,7 +84,7 @@ onUnmounted(() => {
<template>
<div id="songInfo">
<NAvatar
<NAvatar style="border: 1px #ccc solid;"
:size="40"
v-show="showInfo"
:src="info.album.picUrl"
@@ -124,13 +124,15 @@ export default {};
display: flex;
align-items: center;
.song-name{
.text-el-line();
// flex: 1;
.text-el-line-normal();
}
.song-author {
// flex: 1;
margin-left: 4px;
color: #aaa;
font-size: 13px;
.text-el-line();
.text-el-line-normal();
}
}
.song-time {

View File

@@ -190,7 +190,7 @@ const arLeave = () => {
class="mn"
text
type="primary"
style="font-size: 20px"
style="font-size: 18px"
>
<NIcon>
<svg-dots />
@@ -268,7 +268,7 @@ export default {};
width: 20px;
}
.name {
flex: 1;
flex: 3;
.text-el-line-normal();
display: flex;
align-items: center;
@@ -282,11 +282,13 @@ export default {};
}
}
.ar {
width: 120px;
// width: 120px;
flex: 2;
.text-el-line-normal();
}
.al {
width: 80px;
// width: 80px;
flex: 1;
margin-top: 1px;
color: #999;
font-size: 12px;