@bsgoal/common 1.7.5 → 1.7.6
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.
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: canlong.shen
|
|
3
3
|
* @Date: 2023-04-10 15:00:00
|
|
4
4
|
* @LastEditors: canlong.shen
|
|
5
|
-
* @LastEditTime: 2023-05-19
|
|
5
|
+
* @LastEditTime: 2023-05-19 14:00:24
|
|
6
6
|
* @FilePath: \common\src\components\bsgoal-base-form\demo.vue
|
|
7
7
|
* @Description: 表单公共组件演示组件
|
|
8
8
|
*
|
|
@@ -192,7 +192,7 @@ export default {
|
|
|
192
192
|
none="--"
|
|
193
193
|
>
|
|
194
194
|
<template #prop1="{option}">
|
|
195
|
-
<div>666 {{ option }}</div>
|
|
195
|
+
<div>666 {{ option }} </div>
|
|
196
196
|
</template>
|
|
197
197
|
</BsgoalBaseForm>
|
|
198
198
|
<el-button type="primary" @click="confirm">提交</el-button>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: canlong.shen
|
|
3
3
|
* @Date: 2023-04-17 11:44:29
|
|
4
4
|
* @LastEditors: canlong.shen
|
|
5
|
-
* @LastEditTime: 2023-05-19
|
|
5
|
+
* @LastEditTime: 2023-05-19 14:00:05
|
|
6
6
|
* @FilePath: \common\src\components\bsgoal-base-form\index.vue
|
|
7
7
|
* @Description: 表单公共组件
|
|
8
8
|
*
|
|
@@ -328,7 +328,7 @@ defineExpose({
|
|
|
328
328
|
>
|
|
329
329
|
<el-col :xs="24" :sm="24" :md="medium">
|
|
330
330
|
<el-form-item :label="label" :prop="prop" :rules="rules">
|
|
331
|
-
<slot :name="[prop]" :option="{ readonly, value: model[prop] }">
|
|
331
|
+
<slot :name="[prop]" :option="{ readonly, value: model[prop], values: model }">
|
|
332
332
|
<!-- S 内容组件 -->
|
|
333
333
|
<template v-if="!readonly">
|
|
334
334
|
<!-- / input 输入框组件 -->
|