- iview-admin can only control the display and hiding of menus through access. What should I do if I want to configure paths and names?
write in the database, do 2 things after login.vue verification
menu list of 1:load background
find the corresponding role_id, of this menu_name in the background, for example, [user add] menu [1jue 3] these two role_id own, then access: [1jue 3], modify router
2: judge the current user's role_id, and then Cookies. Set ('access',role_id)
then, there is no such thing. :)
Hello. Have you solved your dynamic rendering menu problem?
ask the questioner to add the source code
Previous: How can the array be converted to json so that it can be submitted to the background by form?
Next: Project enabled css_modules, write keyframes invalid do not know why?
the Radio component rendered by rander rendering RadioGroup in the table component of iview cannot be selected render: (h, params) => { return h( RadioGroup , { props: { value: this.resData.method1, type: &quo...
version: "version ": "1.1.4 ", problem description: in the table header, if you want to add the Tooltip component, if the Tooltip component does not use the slot slot, it will display normally, but when the content to be displayed is too much, using ...
as shown in the figure, I used the menu bar component of ivew in vue figure 1. I selected the content on the right side of the login log to display the contents of the login log, which is normal . then I set up a @ click route on the account profile d...
...
The Modal of iView uses the render function to display Modal. Here you can have the parameters of the sub-block Input : methods: { handleRender () { this.$Modal.confirm({ render: (h) => { ...
as shown in figure 1, the on-select event of iview s navigation menu is useful only if the drop-down suboption is selected. but what I need now is to trigger my custom click event when I click on the title "my assets ", such as @ click= "capital " ...
-sharp columns render Vue Render render h rowcolumn index as shown in the figure, I used the table component of iview in the vue project. Now the requirement is to click on the details of each row in the table to trigger the business logic ex...
when using iView s Select selector , there is no default choice. How to solve this problem? ...
after the iview version is updated to 2.9.0, the submenu of the navigation menu cannot add click events ...
have you ever used the date-picker element of iview that can be displayed, but when you click to select a date, you report an error and the date does not come out? this is why ...
Click on a button rendered with render in the < H2 > table, and the button pops up a text prompt bubble (Poptip-- confirm), clicks OK and reports an error < H2 > The code is as follows render: (h, params) => { return h( div , [ ...
the table component in iview, how to make the numbers with a median value of 0 in the grid display in green and the rest in red ...
...
< CheckboxGroup VMI model = "model1 " > . checkbox is different from tree, there is only one label value. The value obtained by model1 after two-way binding is only the value displayed by checkbox. If you want to get value, you can only bind label = ...
was originally intended to use a tabs, with two options to put the editor in the second tabpane however, because of the content set for the content part of the editor, the tab is offset, and the two options show half of each visual observation becaus...
there was a problem uploading the file. Setting: with-credentials= "true " is invalid. Check the data that header did not bring into cookie in the submitted url, which caused the submission to report an error <style lang="less"> @i...
how to show hide rows without push,splice the bound data of table? Do you use v-show or v-if or do you implement it directly in render? ...
I use the iview component library (2.11.0) and follow the instructions on the official website https: www.iviewui.com docs . to use the date component, but in the local project, the font icon is not loaded, as shown in figure this is how I introduc...
1. To make an editable table, I want to be able to use the render method of the table in the AotoComplete, in the editing state, but when displaying, I find that there is a problem with the calculation of the drop-down part of the AotoComplete, sometime...
content content of poptip needs to be set to wrap or insert html code into content ...