mirror of
https://gitee.com/log4j/pig-ui.git
synced 2024-12-22 21:22:33 +08:00
formatter code
This commit is contained in:
parent
dd7ea74da8
commit
c2161148d6
@ -237,10 +237,10 @@ const getUserData = async (id) => {
|
||||
const { data } = await getObj(id);
|
||||
Object.assign(dataForm, data);
|
||||
if (data.roleList) {
|
||||
dataForm.role = data.roleList.map(item => item.roleId);
|
||||
dataForm.role = data.roleList.map((item) => item.roleId);
|
||||
}
|
||||
if (data.postList) {
|
||||
dataForm.post = data.postList.map(item => item.postId);
|
||||
dataForm.post = data.postList.map((item) => item.postId);
|
||||
}
|
||||
} catch (err: any) {
|
||||
useMessage().error(err.msg);
|
||||
|
@ -8,7 +8,6 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" name="modelView" setup>
|
||||
import other from '/@/utils/other';
|
||||
import { Session } from '/@/utils/storage';
|
||||
const { proxy } = getCurrentInstance();
|
||||
const route = useRoute();
|
||||
|
@ -6,7 +6,6 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" name="modelView" setup>
|
||||
import other from '/@/utils/other';
|
||||
import { Session } from '/@/utils/storage';
|
||||
const { proxy } = getCurrentInstance();
|
||||
const route = useRoute();
|
||||
|
@ -351,7 +351,6 @@ const handleSave = async () => {
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
const deleteMaterial = () => {
|
||||
tempObj.value.replyArticles = [];
|
||||
tempObj.value.articleId = '';
|
||||
|
Loading…
Reference in New Issue
Block a user