Skip to content

Commit

Permalink
test(CI):测试CI (#41)
Browse files Browse the repository at this point in the history
* test(CI):测试CI

* fix(CI):修复CI失效问题

* fix(CI):测试CI

* fix(CI):修复lint版本过高问题
  • Loading branch information
xixiIBN5100 authored Aug 4, 2024
1 parent 39e01e9 commit aeae642
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 29 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@vue/eslint-config-typescript": "^13.0.0",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.5.1",
"eslint": "^9.2.0",
"eslint": "^8.57.0",
"eslint-plugin-vue": "^9.23.0",
"jsdom": "^24.1.0",
"npm-run-all2": "^6.2.0",
Expand Down
28 changes: 0 additions & 28 deletions src/components/Modal/index.vue
Original file line number Diff line number Diff line change
@@ -1,31 +1,3 @@
<!--
# Modal组件
用于表现弹窗
## 用法
```template
<modal modal-id="idName">
// slot
<template #action>
// slot action
</template>
</modal>
```
```ts
import { modal, showModal } from '@/components';
showModal("idName") // 显示modal
showModal("idName", ture) // 关闭modal
```
## 属性
<modal
modal-id="idName"
noCloseBtn // 禁用关闭按钮
centerBtn // 将按钮布局在中心
></modal>
!注意: 请留意id重叠的问题!
-->
<template>
<dialog :id="modalId" class="modal" >
<div class="modal-box p-30" :class="gray ? 'bg-gray-300' : 'bg-indigo-100'">
Expand Down

0 comments on commit aeae642

Please sign in to comment.