mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-06 08:27:54 +08:00
fix: some bug
This commit is contained in:
parent
23e14c2ea2
commit
db237d2f51
@ -24,32 +24,32 @@
|
||||
|
||||
<script lang="ts">
|
||||
import splitpane, {
|
||||
ContextProps,
|
||||
} from "/@/components/SplitPane/index.vue";
|
||||
ContextProps
|
||||
} from "../../../components/splitPane/index.vue";
|
||||
import { reactive } from "vue";
|
||||
export default {
|
||||
name: "split",
|
||||
components: {
|
||||
splitpane,
|
||||
splitpane
|
||||
},
|
||||
setup() {
|
||||
const settingLR: ContextProps = reactive({
|
||||
minPercent: 20,
|
||||
defaultPercent: 40,
|
||||
split: "vertical",
|
||||
split: "vertical"
|
||||
});
|
||||
|
||||
const settingTB: ContextProps = reactive({
|
||||
minPercent: 20,
|
||||
defaultPercent: 40,
|
||||
split: "horizontal",
|
||||
split: "horizontal"
|
||||
});
|
||||
|
||||
return {
|
||||
settingLR,
|
||||
settingTB,
|
||||
settingTB
|
||||
};
|
||||
},
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user