|
@@ -58,14 +58,13 @@ const formRegExpJson = ref({})
|
|
|
const tableFormStyle = computed(() => `width: ${props.width}; height: ${props.height};`)
|
|
|
|
|
|
// 监听属性变化
|
|
|
-watch(() => [props.pkey, props.noTip, props.scroll, props.loading, props.pid],
|
|
|
- ([pkey, tip, scroll, loading, pid]) => {
|
|
|
- keyId.value = pkey
|
|
|
- noTips.value = tip
|
|
|
- isScroll.value = scroll
|
|
|
- isLoading.value = loading
|
|
|
- activeKey.value = pid
|
|
|
- })
|
|
|
+watch(() => [props.pkey, props.noTip, props.scroll, props.loading, props.pid], ([pkey, tip, scroll, loading, pid]) => {
|
|
|
+ keyId.value = pkey
|
|
|
+ noTips.value = tip
|
|
|
+ isScroll.value = scroll
|
|
|
+ isLoading.value = loading
|
|
|
+ activeKey.value = pid
|
|
|
+})
|
|
|
|
|
|
watch(() => props.html, (html) => {
|
|
|
excelHtml.value = html
|