@@ -62,7 +62,6 @@ const mutations = {
menusQuery(state, payload) {
state.menusList = payload.data;
state.dict.menus = payload.data.filter(e => e.parentCode !== 'null' && e.type == 1);
- console.log(state.dict.menus);
},
userQuery(state, payload) {
state.userList = payload.data.map(e => e.userList[0]);
@@ -134,7 +134,6 @@ export default {
contents() {
this.contentsList.map(p => {
const findName = this.menusList.find(e => e.code == p.bind);
- console.log(findName);
if (findName) p.bind = findName?.name;
return p;
});
@@ -214,7 +213,6 @@ export default {
// 删除附件列表
handleRemove(file, fileList) {
- console.log(123);
this.$refs.formData.setForm('annex', null);
delete this.fileList[0];
@@ -94,8 +94,8 @@ export default {
};
const res = await $axios.post(filesUpload, data, null, headers);
// insertImgFn 是获取图片 url 后,插入到编辑器的方法
- const url = `http://127.0.0.1:9002${res.data.filePath}`;
- console.log(url);
+ // const url = `http://127.0.0.1:9002${res.data.filePath}`;
+ const url = res.data.filePath;
// 上传图片,返回结果,将图片插入到编辑器中
insertImgFn(url);
@@ -86,7 +86,6 @@ export default {
timeout(res) {
const Interval = setTimeout(async () => {
const info = await this.progressInfo({ taskId: res });
- console.log(info);
if (info && info.status !== 'error') {
this.percentage = info.progress || 0;
if (info.progress == 100) {
@@ -89,7 +89,6 @@ export default {
const userInfo = sessionStorage.getItem('userInfo');
const { id } = JSON.parse(userInfo);
const res = await this.updatePwd({ ...this.form, id });
- console.log(res);
if (res.errcode === 0) {
this.$message({
message: '修改成功',
@@ -121,7 +121,6 @@ export default {
@@ -151,7 +151,6 @@ export default {
async filtereEdit (e) {
const res = await this.imgNewsFetch({ id: e._id });
this.formdata = res.data;
- console.log(this.formdata);
this.title = '修改图片新闻';
this.typeChage();
@@ -237,7 +236,6 @@ export default {
this.$refs.formData.setForm('img', res.data.filePath);
beforeAvatarUpload(file) {
- console.log(file);
// const isJPG = file.type === 'image/jpeg';
// const isLt2M = file.size / 1024 / 1024 < 2;
@@ -62,7 +62,6 @@ export default {
...mapActions(['menuQuery', 'roleQuery', 'queryBind', 'batchBind', 'batchUnBind']),
// 角色授权
async view (e) {
- console.log(e, 'eeee');
this.title = '绑定角色';
this.visibleSync = true;
this.menuInfo = e;
@@ -38,7 +38,6 @@ if (!window.__POWERED_BY_QIANKUN__) {
export async function bootstrap () {}
export async function mount (props) {
render(props);
}
export async function unmount () {