Commit 7a073de4 by zhangxw

修改

1 parent d802de6d
......@@ -133,7 +133,7 @@
</template>
<script>
import { mapActions, mapState } from "vuex"
import { mapActions, mapState, mapMutations } from "vuex"
import { Util, deepClone } from "@/common/util"
import inputRange from './components/inputRange'
import editDialog from "./components/editDialog"
......@@ -306,10 +306,19 @@ export default {
inputRange,
editDialog
},
watch: {
updateRefesh(val) {
if (val == true) {
this.$refs.personalTable.refreshTable()
this.setUpdateRefesh('false')
}
},
},
computed: {
...mapState({
dowloadList: (state) => state.d2admin.user.dowloadList,
updateList: (state) => state.d2admin.user.updateList
updateList: (state) => state.d2admin.user.updateList,
updateRefesh: (state) => state.d2admin.user.updateRefesh
})
},
mounted() {
......@@ -323,7 +332,7 @@ export default {
close: "d2admin/page/close"
}),
...mapActions("d2admin/user", ["actionSetDownloadList"]),
...mapMutations('d2admin/user', ['setUpdateRefesh']),
async getBaseData() {
this.getOptionsList()
this.getSelectingList()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!