Skip to content

Commit

Permalink
Merge pull request #23 from hujinbin/main
Browse files Browse the repository at this point in the history
fix: 去除启动的报错日志
  • Loading branch information
LOG1997 authored Nov 26, 2024
2 parents 79ddd46 + d7b0fad commit 0bd0a21
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@
"vitest": "^1.6.0",
"vue-tsc": "^2.0.24"
}
}
}
1 change: 0 additions & 1 deletion src/components/HelloWorld.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ const addCount = () => {
</template>

<style scoped lang="scss">
// @import "@/style/global.scss";
.read-the-docs {
color: #888;
}
Expand Down
2 changes: 1 addition & 1 deletion src/views/Config/Prize/PrizeConfig.vue
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ watch(() => prizeList.value, (val: IPrizeConfig[]) => {
<span class="label-text">图片</span>
</div>
<select class="w-full max-w-xs select select-warning select-sm" v-model="item.picture">
<option v-if="item.picture.id" :value="{ id: '', name: '', url: '' }"><span>❌</span></option>
<option v-if="item.picture.id" :value="{ id: '', name: '', url: '' }"></option>
<option disabled selected>选择一张图片</option>
<option v-for="picItem in localImageList" :key="picItem.id" :value="picItem">{{ picItem.name }}
</option>
Expand Down
2 changes: 1 addition & 1 deletion src/views/Home/PrizeList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ onMounted(() => {
<span class="label-text">图片</span>
</div>
<select class="flex-1 w-12 select select-warning select-sm" v-model="temporaryPrize.picture">
<option v-if="temporaryPrize.picture.id" :value="{ id: '', name: '', url: '' }"><span>❌</span>
<option v-if="temporaryPrize.picture.id" :value="{ id: '', name: '', url: '' }">
</option>
<option disabled selected>选择一张图片</option>
<option class="w-auto" v-for="picItem in localImageList" :key="picItem.id" :value="picItem">{{
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default defineConfig(({ mode }) => {
css: {
preprocessorOptions: {
scss: {
additionalData: '@import "@/style/global.scss";',
additionalData: '@use "@/style/global.scss" as *;',
},
},
// postcss: {
Expand Down

0 comments on commit 0bd0a21

Please sign in to comment.