RuoYi-Vue3 icon indicating copy to clipboard operation
RuoYi-Vue3 copied to clipboard

字典问题

Open cwjhome opened this issue 2 years ago • 2 comments

手册上这样写 import DictData from '@/components/DictData' DictData.install()

说这个在main.js里面有 但是看下了没有 生成的模板有关联字典就报错

cwjhome avatar Jun 13 '22 10:06 cwjhome

用的最新的3.8.2版本

cwjhome avatar Jun 13 '22 10:06 cwjhome

@/components/DictData Vue3 版本中缺少了这个组件,github与gitee是并不一样

hongbinhsu avatar Aug 22 '22 06:08 hongbinhsu

vue3版本使用方式不一样,没有install 而是通过useDict读取,参考示例。 const { sys_yes_no } = proxy.useDict("sys_yes_no");

yangzongzhuan avatar Nov 17 '22 01:11 yangzongzhuan