Skip to content

Commit

Permalink
fix:修复运行时 saas 报错
Browse files Browse the repository at this point in the history
  • Loading branch information
bypanghu committed Oct 28, 2024
1 parent bb6c0be commit 845583d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
5 changes: 3 additions & 2 deletions web/src/style/element_visiable.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
@use '@/style/main.scss';
@use "@/style/reset";

@tailwind base;
@tailwind components;
@tailwind utilities;
@import '@/style/main.scss';
@import "@/style/reset";

.el-button {
font-weight: 400;
Expand Down
2 changes: 1 addition & 1 deletion web/src/style/main.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

@import '@/style/iconfont.css';
@use '@/style/iconfont.css';

.html-grey{
filter: grayscale(100%);
Expand Down
1 change: 0 additions & 1 deletion web/src/style/reset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
* 2. Prevent adjustments of font size after orientation changes in iOS.
*/

@import '@/style/iconfont.css';
html {
line-height: 1.15;
/* 1 */
Expand Down
4 changes: 2 additions & 2 deletions web/src/view/about/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@
class="w-8 h-8 rounded-full"
:src="item.avatar_url"
>
<a
<el-link
class=" text-blue-700 ml-2 text-xl font-bold font-sans "
style=""
>{{ item.login }}</a>
>{{ item.login }}</el-link>
</a>
</div>
</div>
Expand Down
7 changes: 7 additions & 0 deletions web/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ export default ({
define: {
'process.env': {}
},
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler' // or "modern"
}
}
},
server: {
// 如果使用docker-compose开发模式,设置为false
open: true,
Expand Down

0 comments on commit 845583d

Please sign in to comment.