wl-design-mobile 0.8.10 → 0.8.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -212,10 +212,10 @@ export default {
212
212
  this.previewModalVisible = true
213
213
  },
214
214
  handleSubmit() {
215
- if (!this.applyDescription.trim()) {
216
- this.$toast({ message: '请输入申请描述', position: 'middle' })
217
- return
218
- }
215
+ // if (!this.applyDescription.trim()) {
216
+ // this.$toast({ message: '请输入申请描述', position: 'middle' })
217
+ // return
218
+ // }
219
219
  this.submitting = true
220
220
  this.$emit('submit', {
221
221
  applyDescription: this.applyDescription,
@@ -96,7 +96,7 @@ export function getHandleIcon(handleResult) {
96
96
  */
97
97
  export function getFileIcon(fileName) {
98
98
  if (!fileName) return 'description'
99
- const ext = fileName.split('.').pop()?.toLowerCase()
99
+ const ext = (fileName.split('.').pop() || '').toLowerCase()
100
100
  const iconMap = {
101
101
  pdf: 'pdf',
102
102
  doc: 'description',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wl-design-mobile",
3
- "version": "0.8.10",
3
+ "version": "0.8.12",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "finch",