Преглед на файлове

模板生成,模板的编辑,数据加载

周壕 преди 1 година
родител
ревизия
33a397606a
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      vue/src/views/position/index.vue

+ 2 - 2
vue/src/views/position/index.vue

@@ -234,8 +234,8 @@ export default defineComponent({
       tabsViewStore.addTabByPath('/position/detail', {id: key});
     };
     const add = () => {
-      //tabsViewStore.addTabByPath('/position/edit', {});
-      tabsViewStore.addTabByPath('/query/index', {tempId: 'af029fdd-62ca-443e-9503-f940f40a7fdc'});
+      tabsViewStore.addTabByPath('/position/edit', {});
+      //tabsViewStore.addTabByPath('/query/index', {tempId: 'af029fdd-62ca-443e-9503-f940f40a7fdc'});
     };
     const edit = (key: string) => {
       tabsViewStore.addTabByPath('/position/edit', {id: key});