|
@@ -50,12 +50,12 @@
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts">
|
|
|
-import { MyBranchList } from "@/dataModel/myBranchList";
|
|
|
+import { MyBranchListModel } from "@/dataModel/myBranchList";
|
|
|
import { ref, onBeforeMount } from "vue";
|
|
|
|
|
|
const useMyBranchList = () => {
|
|
|
const branchList = ref<BranchType.dataInfo[]>([]);
|
|
|
- const myBranchListModel = new MyBranchList();
|
|
|
+ const myBranchListModel = new MyBranchListModel();
|
|
|
const setData = async () => {
|
|
|
const data = await myBranchListModel.getData();
|
|
|
branchList.value = data;
|