🔱: [client] sync upgrade with 6 commits [trident-sync]

chore:
perf: v-model editable-row示例
chore: mock tip
fix: 修复行编辑模式下,render、conditionalRender无效的bug
fix: 修复行编辑初始化无效的bug
This commit is contained in:
GitHub Actions Bot
2023-06-29 19:24:00 +00:00
parent 47cb00857c
commit aa0c5972fb
8 changed files with 47 additions and 6 deletions
@@ -3,7 +3,7 @@
</template>
<script lang="ts">
import { defineComponent, watch } from "vue";
import { defineComponent, onMounted, watch } from "vue";
import createCrudOptions from "./crud";
import { useFs } from "@fast-crud/fast-crud";
@@ -19,6 +19,10 @@ export default defineComponent({
setup(props) {
const { crudBinding, crudRef, crudExpose } = useFs({ createCrudOptions });
onMounted(() => {
crudExpose.editable.enable({ mode: "row" });
});
//通过导出modelValue, 可以导出成为一个input组件
watch(
() => {