mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-19 15:56:47 +08:00
-- bug
This commit is contained in:
@@ -801,7 +801,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import {reactive, toRefs, ref, watch} from "vue";
|
import {reactive, toRefs, ref, watch} from "vue";
|
||||||
import {message} from "ant-design-vue";
|
import {message, Modal} from "ant-design-vue";
|
||||||
import {useRouter} from "vue-router";
|
import {useRouter} from "vue-router";
|
||||||
import ProjOwnerShip from "../../components/drawers/ProjectOwn";
|
import ProjOwnerShip from "../../components/drawers/ProjectOwn";
|
||||||
import ProjPowerList from "../../components/drawers/ProjPowerList";
|
import ProjPowerList from "../../components/drawers/ProjPowerList";
|
||||||
@@ -1178,11 +1178,13 @@ export default {
|
|||||||
type: 1,
|
type: 1,
|
||||||
};
|
};
|
||||||
api.handleProject(obj).then((res) => {
|
api.handleProject(obj).then((res) => {
|
||||||
console.log("模版保存成功", res);
|
state.startModal = false;
|
||||||
|
if (res.data.code === 200) {
|
||||||
message.destroy();
|
message.destroy();
|
||||||
message.success("模版保存成功");
|
message.success("模版保存成功");
|
||||||
state.startModal = false;
|
return;
|
||||||
getTableDate();
|
}
|
||||||
|
Modal.error({title: res.data.msg})
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
//关闭存为模版弹窗
|
//关闭存为模版弹窗
|
||||||
|
|||||||
Reference in New Issue
Block a user