bfrontend

Results 16 issues of bfrontend

我认为这个写的有问题 (in @/utils/is) ```typescript export function isObject(val: any): val is Record { return val !== null && is(val, 'Object'); } export function isPromise(val: unknown): val is Promise { return is(val,...

bug
good first issue

### Environment vue2 ### Reproduction link [https://jsfiddle.net/webxmsj/0czgt3an/](https://jsfiddle.net/webxmsj/0czgt3an/) ### Steps to reproduce 见代码 ![image](https://user-images.githubusercontent.com/40289489/146301773-045fa42f-37f5-4ac0-a309-f9ca31dbb732.png) ### What is expected? img标签上含有alt属性 ### What is actually happening? img标签上不含有alt属性

![image](https://user-images.githubusercontent.com/40289489/117388536-867a3380-af1d-11eb-8c0f-ce4115a25436.png)

**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd...

**该PR的类型是?** (至少选择一个) - [x] Bug修复 - [ ] 新特性 - [ ] 新组件 **该PR是否向下兼容?** (选择任一) - [x] 是 - [ ] 否 如果为否,请描述冲突情况: **涉及到的ISSUE:** - [ ] 该PR如果涉及到某个ISSUE, 请在PR标题中描述出来 (例如....

In my vite.config.ts file I have the following configuration ![image](https://user-images.githubusercontent.com/40289489/173038728-bdb24de8-3685-4be1-8d07-1bbf69c5f735.png) I wanted to build the image resource into dist /images, but it didn't work as expected

Is there a plan to support the following way of defining components ```javascript // not using `defineComponent` call export const Bar = { ... } // not exported const Foo...